Craig's Utility Library  4.0 Beta
Utilities.Random.DefaultClasses.GuidGenerator Class Reference

Randomly generates Guid More...

Inheritance diagram for Utilities.Random.DefaultClasses.GuidGenerator:
Utilities.Random.BaseClasses.GeneratorAttributeBase Utilities.Random.Interfaces.IGenerator< Guid > Utilities.Random.Interfaces.IGenerator< T >

Public Member Functions

 GuidGenerator ()
 Initializes a new instance of the GuidGenerator class. More...
 
Guid Next (System.Random Rand)
 Generates a random value of the specified type More...
 
Guid Next (System.Random Rand, Guid Min, Guid Max)
 Generates a random value of the specified type More...
 
override object NextObj (System.Random Rand)
 Randomly generates an object More...
 
- Public Member Functions inherited from Utilities.Random.Interfaces.IGenerator< T >
Next (System.Random Rand, T Min, T Max)
 Generates a random value of the specified type More...
 
- Public Member Functions inherited from Utilities.Random.Interfaces.IGenerator< Guid >
Next (System.Random Rand)
 Generates a random value of the specified type More...
 
Next (System.Random Rand, T Min, T Max)
 Generates a random value of the specified type More...
 
object NextObj (System.Random Rand)
 Generates a random value and returns it as an object More...
 

Additional Inherited Members

- Protected Member Functions inherited from Utilities.Random.BaseClasses.GeneratorAttributeBase
 GeneratorAttributeBase (object Min, object Max)
 Constructor More...
 
- Properties inherited from Utilities.Random.BaseClasses.GeneratorAttributeBase
virtual object Max [get, protected set]
 Maximum allowed More...
 
virtual object Min [get, protected set]
 Minimum allowed More...
 

Detailed Description

Randomly generates Guid

Definition at line 31 of file GuidGenerator.cs.

Constructor & Destructor Documentation

Utilities.Random.DefaultClasses.GuidGenerator.GuidGenerator ( )

Initializes a new instance of the GuidGenerator class.

Definition at line 36 of file GuidGenerator.cs.

Member Function Documentation

Guid Utilities.Random.DefaultClasses.GuidGenerator.Next ( System.Random  Rand)

Generates a random value of the specified type

Parameters
RandRandom number generator that it can use
Returns
A randomly generated object of the specified type

Implements Utilities.Random.Interfaces.IGenerator< T >.

Definition at line 46 of file GuidGenerator.cs.

Guid Utilities.Random.DefaultClasses.GuidGenerator.Next ( System.Random  Rand,
Guid  Min,
Guid  Max 
)

Generates a random value of the specified type

Parameters
RandRandom number generator that it can use
MinMinimum value (inclusive)
MaxMaximum value (inclusive)
Returns
A randomly generated object of the specified type

Definition at line 58 of file GuidGenerator.cs.

override object Utilities.Random.DefaultClasses.GuidGenerator.NextObj ( System.Random  Rand)
virtual

Randomly generates an object

Parameters
RandRandom number generator
Returns
A randomly generated object

Implements Utilities.Random.BaseClasses.GeneratorAttributeBase.

Definition at line 68 of file GuidGenerator.cs.


The documentation for this class was generated from the following file: