Click or drag to resize

XorShiftRandom Methods

The XorShiftRandom type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize(UInt32)
(Re)initialize this instance with provided 32 bit seed
(Overrides NetRandomInitialize(UInt32).)
Public methodInitialize(UInt64)
(Re)initialize this instance with provided 64 bit seed
Public methodNext
Generates a random value that is greater or equal than 0 and less than Int32.MaxValue
(Inherited from NetRandom.)
Public methodNext(Int32)
Returns a random value is greater or equal than 0 and less than maxValue
(Inherited from NetRandom.)
Public methodNext(Int32, Int32)
Returns a random value is greater or equal than minValue and less than maxValue
(Inherited from NetRandom.)
Public methodNextBool
Returns true or false, randomly
(Inherited from NetRandom.)
Public methodNextBytes(Byte)
Fill the specified buffer with random values
(Inherited from NetRandom.)
Public methodNextBytes(Byte, Int32, Int32)
Fills all bytes from offset to offset + length in buffer with random values
(Inherited from NetRandom.)
Public methodNextDouble
Returns random value larger or equal to 0.0 and less than 1.0
(Inherited from NetRandom.)
Public methodNextInt32
Generates a random value greater or equal than 0 and less or equal than Int32.MaxValue (inclusively)
(Inherited from NetRandom.)
Public methodNextSingle
Returns random value is greater or equal than 0.0f and less than 1.0f
(Inherited from NetRandom.)
Public methodNextUInt32
Generates a random value from UInt32.MinValue to UInt32.MaxValue, inclusively
(Overrides NetRandomNextUInt32.)
Public methodNextUInt64
Generates a random value between UInt64.MinValue to UInt64.MaxValue
(Inherited from NetRandom.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also