ServiceProvider ServiceProvider ServiceProvider Class

Definition

The default IServiceProvider.

public sealed class ServiceProvider : IDisposable, IServiceProvider
type ServiceProvider = class
    interface IServiceProvider
    interface IDisposable
Public NotInheritable Class ServiceProvider
Implements IDisposable, IServiceProvider
Inheritance
ServiceProviderServiceProviderServiceProvider
Implements

Methods

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

Gets the service object of the specified type.

Applies to