Share via


NetFxAdapters.AsExportProvider(ExportProvider) Method

Definition

Creates an instance of a ExportProvider for purposes of compatibility with the version of MEF found in the .NET Framework.

public static System.ComponentModel.Composition.Hosting.ExportProvider AsExportProvider (this Microsoft.VisualStudio.Composition.ExportProvider exportProvider);
static member AsExportProvider : Microsoft.VisualStudio.Composition.ExportProvider -> System.ComponentModel.Composition.Hosting.ExportProvider
<Extension()>
Public Function AsExportProvider (exportProvider As ExportProvider) As ExportProvider

Parameters

exportProvider
ExportProvider

The ExportProvider to wrap.

Returns

A MEF "v1" shim.

Applies to