C# 클래스 Zephyr.Initialization.ServiceLocatorAdapter.WindsorServiceLocator

Adapts the behavior of the Windsor container to the common IServiceLocator
상속: ServiceLocatorImplBase
파일 보기 프로젝트 열기: marufbd/Zephyr.NET

공개 메소드들

메소드 설명
WindsorServiceLocator ( IWindsorContainer container ) : System

Initializes a new instance of the WindsorServiceLocator class.

보호된 메소드들

메소드 설명
DoGetAllInstances ( Type serviceType ) : IEnumerable

When implemented by inheriting classes, this method will do the actual work of resolving all the requested service instances.

DoGetInstance ( Type serviceType, string key ) : object

When implemented by inheriting classes, this method will do the actual work of resolving the requested service instance.

메소드 상세

DoGetAllInstances() 보호된 메소드

When implemented by inheriting classes, this method will do the actual work of resolving all the requested service instances.
protected DoGetAllInstances ( Type serviceType ) : IEnumerable
serviceType System.Type Type of service requested.
리턴 IEnumerable

DoGetInstance() 보호된 메소드

When implemented by inheriting classes, this method will do the actual work of resolving the requested service instance.
protected DoGetInstance ( Type serviceType, string key ) : object
serviceType System.Type Type of instance requested.
key string Name of registered service you want. May be null.
리턴 object

WindsorServiceLocator() 공개 메소드

Initializes a new instance of the WindsorServiceLocator class.
public WindsorServiceLocator ( IWindsorContainer container ) : System
container IWindsorContainer The container.
리턴 System