VsServiceProviderWrapper VsServiceProviderWrapper VsServiceProviderWrapper VsServiceProviderWrapper VsServiceProviderWrapper VsServiceProviderWrapper Class

Definition

Warning

This API is now obsolete.

Wraps a service provider instance. The class can be used to expose a SVsServiceProvider value to a Managed Extensibility Framework composition container.

public ref class VsServiceProviderWrapper sealed : IServiceProvider, Microsoft::VisualStudio::Shell::SVsServiceProvider
public ref class VsServiceProviderWrapper sealed : Microsoft::VisualStudio::Shell::SVsServiceProvider
class VsServiceProviderWrapper sealed : Microsoft::VisualStudio::Shell::SVsServiceProvider
[System.Obsolete("Use [Import] SVsServiceProvider instead.")]
public sealed class VsServiceProviderWrapper : IServiceProvider, Microsoft.VisualStudio.Shell.SVsServiceProvider
type VsServiceProviderWrapper = class
    interface SVsServiceProvider
    interface IServiceProvider
Public NotInheritable Class VsServiceProviderWrapper
Implements IServiceProvider, SVsServiceProvider
Inheritance
VsServiceProviderWrapperVsServiceProviderWrapperVsServiceProviderWrapperVsServiceProviderWrapperVsServiceProviderWrapperVsServiceProviderWrapper
Attributes
Implements

Remarks

For more information about the Managed Extensibility Framework, see Managed Extensibility Framework (MEF).

Constructors

VsServiceProviderWrapper(IServiceProvider) VsServiceProviderWrapper(IServiceProvider) VsServiceProviderWrapper(IServiceProvider) VsServiceProviderWrapper(IServiceProvider) VsServiceProviderWrapper(IServiceProvider) VsServiceProviderWrapper(IServiceProvider)

Constructs an instance of the class.

Methods

GetService(Type) GetService(Type) GetService(Type) GetService(Type) GetService(Type) GetService(Type)

Gets the service object of the specified type.

Applies to