C# Class LinFu.IoC.DefaultGetServiceBehavior

Represents the default implementation for the IGetService interface.
Inheritance: IGetService
Afficher le fichier Open project: philiplaureano/LinFu

Méthodes publiques

Méthode 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 méthode

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

DefaultGetServiceBehavior() public méthode

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.
Résultat LinFu.IoC.Interfaces

GetService() public méthode

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