C# Class Rolcore.ComponentModel.Composition.ConfigurationExportProvider

Inheritance: System.ComponentModel.Composition.Hosting.ExportProvider
显示文件 Open project: Rollins/Rolcore Class Usage Examples

Public Methods

Method Description
ConfigurationExportProvider ( IConfigurationSource configurationSource ) : System

Initializes a new instance of the ConfigurationExportProvider class.

Protected Methods

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

Gets all the exports that match the constraint defined by the specified definition.

Method Details

ConfigurationExportProvider() public method

Initializes a new instance of the ConfigurationExportProvider class.
public ConfigurationExportProvider ( IConfigurationSource configurationSource ) : System
configurationSource IConfigurationSource Specifies the source of configuration values, for /// example an App.Config or Web.Config file.
return System

GetExportsCore() protected method

Gets all the exports that match the constraint defined by the specified definition.
protected GetExportsCore ( System.ComponentModel.Composition.Primitives.ImportDefinition definition, AtomicComposition atomicComposition ) : IEnumerable
definition System.ComponentModel.Composition.Primitives.ImportDefinition The object that defines the conditions of the /// System.ComponentModel.Composition.Primitives.Export objects to return.
atomicComposition AtomicComposition The transactional container for the composition.
return IEnumerable