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

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

Méthodes publiques

Méthode Description
CSLExportProvider ( IServiceLocator serviceLocator ) : System

Initialises a new instance of CSLExportProvider.

RegisterType ( Type type ) : void

Registers a type with the export provider.

Méthodes protégées

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

Gets all exports for this provider.

Method Details

CSLExportProvider() public méthode

Initialises a new instance of CSLExportProvider.
public CSLExportProvider ( IServiceLocator serviceLocator ) : System
serviceLocator IServiceLocator
Résultat System

GetExportsCore() protected méthode

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.
Résultat IEnumerable

RegisterType() public méthode

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