C# Class Griffin.Container.BuildPlans.GenericBuildPlan

Used to build generics.
Inheritance: Griffin.Container.BuildPlans.ConcreteBuildPlan
Afficher le fichier Open project: jgauffin/Griffin.Container

Méthodes publiques

Méthode Description
GenericBuildPlan ( Type concreteType, IEnumerable services, Lifetime lifetime, IInstanceStrategy instanceStrategy ) : System

Initializes a new instance of the GenericBuildPlan class.

Méthodes protégées

Méthode Description
Create ( CreateContext context, object arguments ) : object

Creates the actual instance

Uses the

GetCreateDelegate ( ) : ObjectActivator

Used to create the delegate used to create the instance.

Method Details

Create() protected méthode

Creates the actual instance
Uses the
protected Create ( CreateContext context, object arguments ) : object
context CreateContext
arguments object Constructor arguments
Résultat object

GenericBuildPlan() public méthode

Initializes a new instance of the GenericBuildPlan class.
public GenericBuildPlan ( Type concreteType, IEnumerable services, Lifetime lifetime, IInstanceStrategy instanceStrategy ) : System
concreteType System.Type Type to construct.
services IEnumerable Servies
lifetime Lifetime The lifetime.
instanceStrategy IInstanceStrategy Used to either fetch or create an instance.
Résultat System

GetCreateDelegate() protected méthode

Used to create the delegate used to create the instance.
protected GetCreateDelegate ( ) : ObjectActivator
Résultat ObjectActivator