C# 클래스 Castle.MonoRail.Framework.ServiceProviderLocator

Uses the HttpContext and the IServiceProviderExAccessor to access the container instance.
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
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