C# Класс Griffin.Container.BuildPlans.EmptyListBuildPlan

Used for constructors that want a list of services when no services has been registered.
Наследование: IBuildPlan
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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