Class DelegatingExportProvider
- Namespace
- Microsoft.VisualStudio.Composition
- Assembly
- Microsoft.VisualStudio.Composition.dll
A base class for ExportProviders that wish to intercept queries for exports to modify the query or the result.
public abstract class DelegatingExportProvider : ExportProvider, IDisposableObservable, IDisposable
- Inheritance
-
DelegatingExportProvider
- Implements
- Inherited Members
- Extension Methods
Constructors
DelegatingExportProvider(ExportProvider)
Initializes a new instance of the DelegatingExportProvider class.
protected DelegatingExportProvider(ExportProvider inner)
Parameters
inner
ExportProviderThe instance to forward queries to.
Methods
GetExports(ImportDefinition)
Forwards the exports query to the inner ExportProvider.
public override IEnumerable<Export> GetExports(ImportDefinition importDefinition)
Parameters
importDefinition
ImportDefinitionA description of the exports desired.
Returns
- IEnumerable<Export>
The resulting exports.