Click or drag to resize

ByteEnumeratorGenerator Class

A random generator that utilizes the Bytes() to generate an arbitrary length array.
Inheritance Hierarchy

Namespace:  WhetStone.Random
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public abstract class ByteEnumeratorGenerator : RandomGenerator

The ByteEnumeratorGenerator type exposes the following members.

Constructors
  NameDescription
Protected methodByteEnumeratorGenerator
Top
Methods
  NameDescription
Public methodBool
get a random Boolean.
(Inherited from RandomGenerator.)
Public methodByte
Get a random Byte.
(Overrides RandomGenerator.Byte().)
Public methodBytes() (Inherited from RandomGenerator.)
Public methodBytes(Int32)
Generate random Bytes in an Array.
(Overrides RandomGenerator.Bytes(Int32).)
Public methodDouble()
Get a random Double between 0 and 1.
(Inherited from RandomGenerator.)
Public methodDouble(Double)
Get a random Double.
(Inherited from RandomGenerator.)
Public methodDouble(Double, Double)
Get a random Double.
(Inherited from RandomGenerator.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodfromField<T>()
Generate a random element of a generic type using fielding.
(Inherited from RandomGenerator.)
Public methodfromField<T>(T, T)
Generate a random element of a generic type using fielding.
(Inherited from RandomGenerator.)
Public methodfromField<T>(T, T, Object)
Generate a random element of a generic type using fielding.
(Inherited from RandomGenerator.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInt()
Get a random Int32.
(Inherited from RandomGenerator.)
Public methodInt(Int32)
Get a random Int32.
(Inherited from RandomGenerator.)
Public methodInt(Int32, Int32)
Get a random Int32.
(Inherited from RandomGenerator.)
Public methodInt(Int32, Int32, Boolean)
Get a random Int32.
(Inherited from RandomGenerator.)
Public methodLong(Int64)
Get a random Int64.
(Inherited from RandomGenerator.)
Public methodLong(Int64, Int64)
Get a random Int64.
(Inherited from RandomGenerator.)
Public methodLong(Int64, Int64, Boolean)
Get a random Int64.
(Inherited from RandomGenerator.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodsuccess
get a random Boolean.
(Inherited from RandomGenerator.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodULong(UInt64)
Get a random UInt64.
(Inherited from RandomGenerator.)
Public methodULong(UInt64, UInt64)
Get a random UInt64.
(Inherited from RandomGenerator.)
Public methodULong(UInt64, UInt64, Boolean)
Get a random UInt64.
(Inherited from RandomGenerator.)
Top
See Also