MefInjection<TService> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.