C# Класс ModelBuilder.ArrayTypeCreator

The ArrayTypeCreator class is used to create an instance from array types.
Наследование: DefaultTypeCreator
Показать файл Открыть проект

Открытые методы

Метод Описание
CanCreate ( Type type, string referenceName, LinkedList buildChain ) : bool
CanPopulate ( Type type, string referenceName, LinkedList buildChain ) : bool
Create ( Type type, string referenceName, LinkedList buildChain ) : object
Populate ( object instance, IExecuteStrategy executeStrategy ) : object

Защищенные методы

Метод Описание
CreateChildItem ( Type type, IExecuteStrategy executeStrategy, object previousItem ) : object

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

Описание методов

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

Create() публичный Метод

The parameter is null.
public Create ( Type type, string referenceName, LinkedList buildChain ) : object
type System.Type
referenceName string
buildChain LinkedList
Результат object

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

Populate() публичный Метод

The parameter is null. The parameter is null.
public Populate ( object instance, IExecuteStrategy executeStrategy ) : object
instance object
executeStrategy IExecuteStrategy
Результат object