ServiceProviderHelper Members

Include Protected Members
Include Inherited Members

The helper class for service providers.

The ServiceProviderHelper type exposes the following members.

Constructors

  Name Description
Public method ServiceProviderHelper Overloaded. Initializes a new instance of the ServiceProviderHelper class.

Top

Methods

  Name Description
Public method AddService Overloaded. Adds a specified service type to the service container.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetService Overloaded. Gets the service.
Public method GetService<T> Gets the service.
Public method GetService<T, S> Gets the service.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveService Overloaded. Removes a service type from the service container.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property DefaultServices Returns whether this service provider responds to queries of IServiceProvider and IObjectWithSite by returning itself.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IServiceProvider.QueryService

Top

See Also

Reference

ServiceProviderHelper Class

Microsoft.VisualStudio.Data.Schema.Project.Common Namespace