C# Class Core.Framework.MEF.ServiceLocation.CSLExportProvider

Provides exports from a CSL-compatible service.
Inheritance: System.ComponentModel.Composition.Hosting.ExportProvider
Exibir arquivo Open project: coreframework/Core-Framework

Public Methods

Method Description
CSLExportProvider ( IServiceLocator serviceLocator ) : System

Initialises a new instance of CSLExportProvider.

RegisterType ( Type type ) : void

Registers a type with the export provider.

Protected Methods

Method Description
GetExportsCore ( System.ComponentModel.Composition.Primitives.ImportDefinition definition, AtomicComposition atomicComposition ) : IEnumerable

Gets all exports for this provider.

Method Details

CSLExportProvider() public method

Initialises a new instance of CSLExportProvider.
public CSLExportProvider ( IServiceLocator serviceLocator ) : System
serviceLocator IServiceLocator
return System

GetExportsCore() protected method

Gets all exports for this provider.
protected GetExportsCore ( System.ComponentModel.Composition.Primitives.ImportDefinition definition, AtomicComposition atomicComposition ) : IEnumerable
definition System.ComponentModel.Composition.Primitives.ImportDefinition The import definition to match.
atomicComposition AtomicComposition The atomic composition.
return IEnumerable

RegisterType() public method

Registers a type with the export provider.
public RegisterType ( Type type ) : void
type System.Type The type to register.
return void