Share via


GlobalServiceProvider Class

Definition

Provides the "global service provider" for Visual Studio components.

public class GlobalServiceProvider : IDisposable
type GlobalServiceProvider = class
    interface IDisposable
Public Class GlobalServiceProvider
Implements IDisposable
Inheritance
GlobalServiceProvider
Implements

Remarks

This type manages the adding of services to the global service provider. The service provider itself is exposed to test and product code via the GlobalProvider static property.

Constructors

GlobalServiceProvider()

Initializes a new instance of the GlobalServiceProvider class.

Methods

AddService(Type, Object) Microsoft.VisualStudio.Sdk.TestFramework.GlobalServiceProvider.OleServiceProviderMock.AddService(System.Type,System.Object)
Dispose()

Disposes of any dedicated resources for VS mocks.

Dispose(Boolean)

Disposes of managed and native resources.

Reset() Microsoft.VisualStudio.Sdk.TestFramework.GlobalServiceProvider.OleServiceProviderMock.Reset

Applies to