C# Class Griffin.Container.BuildPlans.EmptyListBuildPlan

Used for constructors that want a list of services when no services has been registered.
Inheritance: IBuildPlan
Afficher le fichier Open project: jgauffin/Griffin.Container Class Usage Examples

Méthodes publiques

Méthode Description
EmptyListBuildPlan ( Type service ) : System

Initializes a new instance of the EmptyListBuildPlan class.

GetInstance ( CreateContext context, object &instance ) : InstanceResult

Get the instance.

Use one of the set methods to assigned the instance.

SetCreateCallback ( ICreateCallback callback ) : void

Callback invoked each time a new instance is created.

Method Details

EmptyListBuildPlan() public méthode

Initializes a new instance of the EmptyListBuildPlan class.
public EmptyListBuildPlan ( Type service ) : System
service System.Type The service.
Résultat System

GetInstance() public méthode

Get the instance.
Use one of the set methods to assigned the instance.
public GetInstance ( CreateContext context, object &instance ) : InstanceResult
context CreateContext Context used to create instances.
instance object The instance.
Résultat InstanceResult

SetCreateCallback() public méthode

Callback invoked each time a new instance is created.
public SetCreateCallback ( ICreateCallback callback ) : void
callback ICreateCallback Callback to invoke
Résultat void