Craig's Utility Library  4.0 Beta
Utilities.Random.DefaultClasses.ClassGenerator< T > Class Template Reference

Randomly generates a class More...

Inheritance diagram for Utilities.Random.DefaultClasses.ClassGenerator< T >:
Utilities.Random.Interfaces.IGenerator< T >

Public Member Functions

Next (System.Random Rand)
 Generates a random version of the class More...
 
Next (System.Random Rand, T Min, T Max)
 Generates a random version of the class More...
 
object NextObj (System.Random Rand)
 Gets a random version of the class More...
 

Detailed Description

Randomly generates a class

Template Parameters
TClass type to generate
Type Constraints
T :class 
T :new() 

Definition at line 13 of file ClassGenerator.cs.

Member Function Documentation

T Utilities.Random.DefaultClasses.ClassGenerator< T >.Next ( System.Random  Rand)

Generates a random version of the class

Parameters
RandRandom generator to use
Returns
The randomly generated class

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

Definition at line 21 of file ClassGenerator.cs.

T Utilities.Random.DefaultClasses.ClassGenerator< T >.Next ( System.Random  Rand,
Min,
Max 
)

Generates a random version of the class

Parameters
RandRandom generator to use
MinMin value (not used)
MaxMax value (not used)
Returns
The randomly generated class

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

Definition at line 41 of file ClassGenerator.cs.

object Utilities.Random.DefaultClasses.ClassGenerator< T >.NextObj ( System.Random  Rand)

Gets a random version of the class

Parameters
RandRandom generator used
Returns
The randonly generated class

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

Definition at line 51 of file ClassGenerator.cs.


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