C# 클래스 ModelBuilder.ValueGeneratorBase

The ValueGeneratorBase class provides the base implementation for generating values.
상속: IValueGenerator
파일 보기 프로젝트 열기: roryprimrose/ModelBuilder

공개 메소드들

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

보호된 메소드들

메소드 설명
GenerateValue ( Type type, string referenceName, LinkedList buildChain ) : object

Generates a new value with the provided context.

VerifyGenerateRequest ( Type type, string referenceName, LinkedList buildChain ) : void

Verifies that the minimum required information has been provided in order to generate a value.

메소드 상세

Generate() 공개 메소드

public Generate ( Type type, string referenceName, LinkedList buildChain ) : object
type System.Type
referenceName string
buildChain LinkedList
리턴 object

GenerateValue() 보호된 추상적인 메소드

Generates a new value with the provided context.
protected abstract GenerateValue ( Type type, string referenceName, LinkedList buildChain ) : object
type System.Type The type of value to generate.
referenceName string Identifies the possible parameter or property name the value is intended for.
buildChain LinkedList The chain of instances built up to this point.
리턴 object

IsSupported() 공개 추상적인 메소드

public abstract IsSupported ( Type type, string referenceName, LinkedList buildChain ) : bool
type System.Type
referenceName string
buildChain LinkedList
리턴 bool

VerifyGenerateRequest() 보호된 메소드

Verifies that the minimum required information has been provided in order to generate a value.
The parameter is null. This generator does not support creating the requested value.
protected VerifyGenerateRequest ( Type type, string referenceName, LinkedList buildChain ) : void
type System.Type The type of value to generate.
referenceName string Identifies the possible parameter or property name this value is intended for.
buildChain LinkedList The chain of instances built up to this point.
리턴 void