C# Class Griffin.Container.BuildPlans.EmptyListBuildPlan

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

Public Methods

Method 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 method

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

GetInstance() public method

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.
return InstanceResult

SetCreateCallback() public method

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