C# 클래스 Griffin.Container.BuildPlans.EmptyListBuildPlan

Used for constructors that want a list of services when no services has been registered.
상속: IBuildPlan
파일 보기 프로젝트 열기: jgauffin/Griffin.Container 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

EmptyListBuildPlan() 공개 메소드

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

GetInstance() 공개 메소드

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.
리턴 InstanceResult

SetCreateCallback() 공개 메소드

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