C# 클래스 ModelBuilder.NumericValueGenerator

The NumericValueGenerator class is used to generate random numeric values.
상속: ValueGeneratorBase
파일 보기 프로젝트 열기: roryprimrose/ModelBuilder

공개 메소드들

메소드 설명
IsSupported ( Type type, string referenceName, LinkedList buildChain ) : bool

보호된 메소드들

메소드 설명
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.

메소드 상세

GenerateValue() 보호된 메소드

protected GenerateValue ( Type type, string referenceName, LinkedList buildChain ) : object
type System.Type
referenceName string
buildChain LinkedList
리턴 object

GetMaximum() 보호된 메소드

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.
리턴 object

GetMinimum() 보호된 메소드

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.
리턴 object

IsSupported() 공개 메소드

The parameter is null.
public IsSupported ( Type type, string referenceName, LinkedList buildChain ) : bool
type System.Type
referenceName string
buildChain LinkedList
리턴 bool