ServiceProvider Members
Include Protected Members
Include Inherited Members
Provides an object that can proffer services by using both the managed and unmanaged IServiceProvider interfaces.
The ServiceProvider type exposes the following members.
Constructors
Name
Description
Overloaded. Initializes a new instance of a managed or unmanaged IServiceProvider.
Top
Methods
Name
Description
Overloaded. Adds the specified service to the internal collection of services.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Serves as a hash function for a particular type. (Inherited from Object.)
Overloaded. Retrieves a service.
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Overloaded. Removes the specified service.
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets the current instance of the parent service provider.
Top
Explicit Interface Implementations
Name
Description
Performs as a factory for services that are exposed through an implementation of IServiceProvider.
Top