C# Class Castle.MonoRail.Framework.ServiceProviderLocator

Uses the HttpContext and the IServiceProviderExAccessor to access the container instance.
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
AddLocatorStrategy ( IAccessorStrategy strategy ) : void

Adds a locator strategy.

LocateProvider ( ) : IServiceProviderEx

Locates the service provider using the registered strategies.

ServiceProviderLocator ( ) : System.Collections.Generic

Initializes a new instance of the ServiceProviderLocator class.

Method Details

AddLocatorStrategy() public méthode

Adds a locator strategy.
public AddLocatorStrategy ( IAccessorStrategy strategy ) : void
strategy IAccessorStrategy The strategy.
Résultat void

LocateProvider() public méthode

Locates the service provider using the registered strategies.
public LocateProvider ( ) : IServiceProviderEx
Résultat IServiceProviderEx

ServiceProviderLocator() public méthode

Initializes a new instance of the ServiceProviderLocator class.
public ServiceProviderLocator ( ) : System.Collections.Generic
Résultat System.Collections.Generic