C# Класс Zephyr.Initialization.ServiceLocatorAdapter.WindsorServiceLocator

Adapts the behavior of the Windsor container to the common IServiceLocator
Наследование: ServiceLocatorImplBase
Показать файл Открыть проект

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

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