C# Class LinFu.IoC.DefaultGetServiceBehavior

Represents the default implementation for the IGetService interface.
Inheritance: IGetService
显示文件 Open project: philiplaureano/LinFu

Public Methods

Method Description
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.

Method Details

DefaultGetServiceBehavior() public method

Initializes the class with the given container instance.
public DefaultGetServiceBehavior ( IServiceContainer container ) : LinFu.IoC.Interfaces
container IServiceContainer The target service container.
return LinFu.IoC.Interfaces

DefaultGetServiceBehavior() public method

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.
return LinFu.IoC.Interfaces

GetService() public method

Instantiates the service described by the serviceRequest.
public GetService ( IServiceRequest serviceRequest ) : object
serviceRequest IServiceRequest The that describes the service that needs to be instantiated.
return object