C# Класс Microsoft.Practices.Prism.MefExtensions.MefServiceLocatorAdapter

Provides service location utilizing the Managed Extensibility Framework container.
Наследование: ServiceLocatorImplBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Защищенные методы

Метод Описание
DoGetAllInstances ( Type serviceType ) : IEnumerable

Resolves the instance of the requested service.

DoGetInstance ( Type serviceType, string key ) : object

Resolves all the instances of the requested service.

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

DoGetAllInstances() защищенный Метод

Resolves the instance of the requested service.
protected DoGetAllInstances ( Type serviceType ) : IEnumerable
serviceType System.Type Type of instance requested.
Результат IEnumerable

DoGetInstance() защищенный Метод

Resolves all the instances of the requested service.
protected DoGetInstance ( Type serviceType, string key ) : object
serviceType System.Type Type of service requested.
key string Name of registered service you want. May be null.
Результат object