C# Class ModelBuilder.ArrayTypeCreator

The ArrayTypeCreator class is used to create an instance from array types.
Inheritance: DefaultTypeCreator
Afficher le fichier Open project: roryprimrose/ModelBuilder

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
CreateChildItem ( Type type, IExecuteStrategy executeStrategy, object previousItem ) : object

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

Method Details

CanCreate() public méthode

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

CanPopulate() public méthode

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

Create() public méthode

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

CreateChildItem() protected méthode

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.
Résultat object

Populate() public méthode

The parameter is null. The parameter is null.
public Populate ( object instance, IExecuteStrategy executeStrategy ) : object
instance object
executeStrategy IExecuteStrategy
Résultat object