NetRandom Methods |
The NetRandom type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize |
(Re)initialize this instance with provided 32 bit seed
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Next |
Generates a random value that is greater or equal than 0 and less than Int32.MaxValue
(Overrides RandomNext.) | |
Next(Int32) |
Returns a random value is greater or equal than 0 and less than maxValue
(Overrides RandomNext(Int32).) | |
Next(Int32, Int32) |
Returns a random value is greater or equal than minValue and less than maxValue
(Overrides RandomNext(Int32, Int32).) | |
NextBool |
Returns true or false, randomly
| |
NextBytes(Byte) |
Fill the specified buffer with random values
(Overrides RandomNextBytes(Byte).) | |
NextBytes(Byte, Int32, Int32) |
Fills all bytes from offset to offset + length in buffer with random values
| |
NextDouble |
Returns random value larger or equal to 0.0 and less than 1.0
(Overrides RandomNextDouble.) | |
NextInt32 |
Generates a random value greater or equal than 0 and less or equal than Int32.MaxValue (inclusively)
| |
NextSingle |
Returns random value is greater or equal than 0.0f and less than 1.0f
| |
NextUInt32 |
Generates a random value from UInt32.MinValue to UInt32.MaxValue, inclusively
| |
NextUInt64 |
Generates a random value between UInt64.MinValue to UInt64.MaxValue
| |
Sample |
Returns random value is greater or equal than 0.0 and less than 1.0
(Overrides RandomSample.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |