C# Class ModelBuilder.NumericValueGenerator

The NumericValueGenerator class is used to generate random numeric values.
Inheritance: ValueGeneratorBase
Afficher le fichier Open project: roryprimrose/ModelBuilder

Méthodes publiques

Méthode Description
IsSupported ( Type type, string referenceName, LinkedList buildChain ) : bool

Méthodes protégées

Méthode Description
GenerateValue ( Type type, string referenceName, LinkedList buildChain ) : object
GetMaximum ( Type type, string referenceName, object context ) : object

Returns the maximum value for the specified generation target.

GetMinimum ( Type type, string referenceName, object context ) : object

Returns the minimum value for the specified generation target.

Method Details

GenerateValue() protected méthode

protected GenerateValue ( Type type, string referenceName, LinkedList buildChain ) : object
type System.Type
referenceName string
buildChain LinkedList
Résultat object

GetMaximum() protected méthode

Returns the maximum value for the specified generation target.
protected GetMaximum ( Type type, string referenceName, object context ) : object
type System.Type The type of value to generate.
referenceName string Identifies the possible parameter or property name the value is intended for.
context object The possible context object the value is being created for.
Résultat object

GetMinimum() protected méthode

Returns the minimum value for the specified generation target.
protected GetMinimum ( Type type, string referenceName, object context ) : object
type System.Type The type of value to generate.
referenceName string Identifies the possible parameter or property name the value is intended for.
context object The possible context object the value is being created for.
Résultat object

IsSupported() public méthode

The parameter is null.
public IsSupported ( Type type, string referenceName, LinkedList buildChain ) : bool
type System.Type
referenceName string
buildChain LinkedList
Résultat bool