Click or drag to resize

UniformIntGenerator Class

Note: This API is now obsolete.

A generator that generates int values with a uniform distribution.
Inheritance Hierarchy
SystemObject
  Gamelogic.Extensions.ObsoleteUniformIntGenerator

Namespace:  Gamelogic.Extensions.Obsolete
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 4, 0)]
[ObsoleteAttribute("Use the static functions in Gamelogic.Generators.Generator instead.")]
public class UniformIntGenerator : IIntGenerator, 
	IGenerator<int>, IGenerator

The UniformIntGenerator type exposes the following members.

Constructors
  NameDescription
Public methodUniformIntGenerator(Int32)
Creates a new generator that generates integers between 0 and the specified maximum randomly.
Public methodUniformIntGenerator(Int32, IRandom)
Creates a new generator that generates integers between 0 and the specified maximum randomly.
Public methodUniformIntGenerator(Int32, Int32)
Creates a new generator that generates integers in a specified range randomly.
Public methodUniformIntGenerator(Int32, Int32, IRandom)
Creates a new generator that generates integers in a specified range randomly.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNext
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAggregateWindowInt32, U (Defined by GeneratorExtensions.)
Public Extension MethodBufferInt32 (Defined by GeneratorExtensions.)
Public Extension MethodCastT (Defined by GeneratorExtensions.)
Public Extension MethodNextInt32
Gets the next n elements from the generator.
(Defined by GeneratorExtensions.)
Public Extension MethodOfTypeT (Defined by GeneratorExtensions.)
Public Extension MethodRepeatWithProbabilityInt32 (Defined by GeneratorExtensions.)
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Public Extension MethodWhereInt32 (Defined by GeneratorExtensions.)
Public Extension MethodWhereBufferInt32 (Defined by GeneratorExtensions.)
Public Extension MethodWindowInt32 (Defined by GeneratorExtensions.)
Top
Explicit Interface Implementations
See Also