C# Class Griffin.Container.BuildPlans.CompositeBuildPlan

Used for constructor parameters that is of type ]]>.
Contains two or more build plans which is used for the construction
Inheritance: IBuildPlan
显示文件 Open project: jgauffin/Griffin.Container Class Usage Examples

Public Methods

Method Description
CompositeBuildPlan ( Type serviceType, IBuildPlan buildPlans ) : System

Initializes a new instance of the CompositeBuildPlan 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

CompositeBuildPlan() public method

Initializes a new instance of the CompositeBuildPlan class.
public CompositeBuildPlan ( Type serviceType, IBuildPlan buildPlans ) : System
serviceType System.Type Should be type of ]]>
buildPlans IBuildPlan The build plans.
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