C# Класс Castle.MonoRail.Framework.ServiceProviderLocator

Uses the HttpContext and the IServiceProviderExAccessor to access the container instance.
Показать файл Открыть проект

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

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

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

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

Adds a locator strategy.
public AddLocatorStrategy ( IAccessorStrategy strategy ) : void
strategy IAccessorStrategy The strategy.
Результат void

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

Locates the service provider using the registered strategies.
public LocateProvider ( ) : IServiceProviderEx
Результат IServiceProviderEx

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

Initializes a new instance of the ServiceProviderLocator class.
public ServiceProviderLocator ( ) : System.Collections.Generic
Результат System.Collections.Generic