Share via


DataSiteableServiceProvider<T> Members

Include Protected Members
Include Inherited Members

Combines the functionality of an IVsDataSiteableObject<T> object and a ServiceProvider object. This implementation of the IVsDataSiteableObject<T> and IServiceProvider interfaces allows access to services while supporting communication to a site.

The DataSiteableServiceProvider<T> type exposes the following members.

Constructors

 

Name

Description

Public method

DataSiteableServiceProvider<T>

Overloaded. Initializes a new instance of the DataSiteableServiceProvider<T> class.

Top

Methods

 

Name

Description

Public method

AddService

Overloaded. Adds the specified service to the internal collection of services.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it 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. Retrieves a 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.)

Protected method

OnSiteChanged

Raises the SiteChanged event.

Public method

RemoveService

Overloaded. Removes the specified service.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Protected property

ParentProvider

Gets the current instance of the parent service provider. (Inherited from ServiceProvider.)

Public property

Site

Gets or sets the site.

Top

Events

 

Name

Description

Public event

SiteChanged

Occurs when the site has changed.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IServiceProvider.QueryService

Performs as a factory for services that are exposed through an implementation of IServiceProvider. (Inherited from ServiceProvider.)

Top

See Also

Reference

DataSiteableServiceProvider<T> Class

Microsoft.VisualStudio.Data.Framework Namespace