Click or drag to resize

GeneratorRegistry Class

The collection of random number streams currently in use.
Inheritance Hierarchy
SystemObject
  Demo3D.Common.RandomGeneratorRegistry

Namespace:  Demo3D.Common.Random
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public class GeneratorRegistry : IEnumerable

The GeneratorRegistry type exposes the following members.

Constructors
  NameDescription
Public methodGeneratorRegistry
Initializes a new instance of the GeneratorRegistry class
Top
Properties
  NameDescription
Public propertyCount
The number of random numbers streams currently in use.
Public propertyStatic memberGeneratorTypes
The mapping of generator type names to .NET types.
Public propertyStreams
The collection of all random number streams currently in use.
Top
Methods
  NameDescription
Public methodAddStream
Add a new random number stream by name.
Public methodGetStream(GeneratorReference)
Get the existing, or create a new, random number stream by reference (Name).
Public methodGetStream(String)
Get the existing, or create a new, random number stream by name.
Top
Extension Methods
See Also