C# Класс LinFu.IoC.DefaultGetServiceBehavior

Represents the default implementation for the IGetService interface.
Наследование: IGetService
Показать файл Открыть проект

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

Метод Описание
DefaultGetServiceBehavior ( IServiceContainer container ) : LinFu.IoC.Interfaces

Initializes the class with the given container instance.

DefaultGetServiceBehavior ( IServiceContainer container, ICreateInstance creator, IPreProcessor preProcessor, IPostProcessor postProcessor ) : LinFu.IoC.Interfaces

Initializes the class with the given container instance.

GetService ( IServiceRequest serviceRequest ) : object

Instantiates the service described by the serviceRequest.

Описание методов

DefaultGetServiceBehavior() публичный Метод

Initializes the class with the given container instance.
public DefaultGetServiceBehavior ( IServiceContainer container ) : LinFu.IoC.Interfaces
container IServiceContainer The target service container.
Результат LinFu.IoC.Interfaces

DefaultGetServiceBehavior() публичный Метод

Initializes the class with the given container instance.
public DefaultGetServiceBehavior ( IServiceContainer container, ICreateInstance creator, IPreProcessor preProcessor, IPostProcessor postProcessor ) : LinFu.IoC.Interfaces
container IServiceContainer The target service container.
creator ICreateInstance The instance responsible for instantiating service types.
preProcessor IPreProcessor The that will allow users to intercept a given service request.
postProcessor IPostProcessor The instance that will handle the results of a given service request.
Результат LinFu.IoC.Interfaces

GetService() публичный Метод

Instantiates the service described by the serviceRequest.
public GetService ( IServiceRequest serviceRequest ) : object
serviceRequest IServiceRequest The that describes the service that needs to be instantiated.
Результат object