C# 클래스 ModelBuilder.EnumerableTypeCreator

The EnumerableTypeCreator class is used to create an instance from an IEnumerable{T} type.
상속: TypeCreatorBase
파일 보기 프로젝트 열기: roryprimrose/ModelBuilder

공개 메소드들

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

보호된 메소드들

메소드 설명
CreateChildItem ( Type type, IExecuteStrategy executeStrategy, object previousItem ) : object

Creates a child item given the context of a possible previous item being created.

비공개 메소드들

메소드 설명
CreateInstance ( Type type, string referenceName, LinkedList buildChain ) : object
FindEnumerableTypeArgument ( Type type ) : Type
GetEnumerableTypeArgument ( Type type ) : Type
IsReadOnlyType ( Type type ) : bool
IsUnsupportedType ( Type type ) : bool
PopulateInstance ( object instance, IExecuteStrategy executeStrategy ) : object

메소드 상세

CanCreate() 공개 메소드

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

CanPopulate() 공개 메소드

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

CreateChildItem() 보호된 메소드

Creates a child item given the context of a possible previous item being created.
The parameter is null.
protected CreateChildItem ( Type type, IExecuteStrategy executeStrategy, object previousItem ) : object
type System.Type The type of value to generate.
executeStrategy IExecuteStrategy The execute strategy.
previousItem object The previous item generated, or null.
리턴 object