MefInjection<TService> Constructor

Definition

This constructor is for internal use only. Creates an instance of MefInjection<TService>.

public MefInjection (Microsoft.VisualStudio.Extensibility.VSSdkCompatibility.AsyncServiceProviderInjection<Microsoft.VisualStudio.ComponentModelHost.SComponentModel,Microsoft.VisualStudio.ComponentModelHost.IComponentModel> componentModel);
new Microsoft.VisualStudio.Extensibility.VSSdkCompatibility.MefInjection<'Service (requires 'Service : null)> : Microsoft.VisualStudio.Extensibility.VSSdkCompatibility.AsyncServiceProviderInjection<Microsoft.VisualStudio.ComponentModelHost.SComponentModel, Microsoft.VisualStudio.ComponentModelHost.IComponentModel> -> Microsoft.VisualStudio.Extensibility.VSSdkCompatibility.MefInjection<'Service (requires 'Service : null)>
Public Sub New (componentModel As AsyncServiceProviderInjection(Of SComponentModel, IComponentModel))

Parameters

componentModel
AsyncServiceProviderInjection<SComponentModel,IComponentModel>

The MEF host in Visual Studio.

Applies to