C# Class Microsoft.Practices.Prism.MefExtensions.MefServiceLocatorAdapter

Provides service location utilizing the Managed Extensibility Framework container.
Inheritance: ServiceLocatorImplBase
ファイルを表示 Open project: xperiandri/PortablePrism Class Usage Examples

Private Properties

Property Type Description

Protected Methods

Method Description
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.

Method Details

DoGetAllInstances() protected method

Resolves the instance of the requested service.
protected DoGetAllInstances ( Type serviceType ) : IEnumerable
serviceType System.Type Type of instance requested.
return IEnumerable

DoGetInstance() protected method

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.
return object