Table of Contents

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 ExportProvider

The 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 ImportDefinition

A description of the exports desired.

Returns

IEnumerable<Export>

The resulting exports.