IServiceProvider Interface

IServiceProvider interface

Provides an immutable container for services.

public interface IServiceProvider

Methods

NameDescription
GetService<TService>()Gets a service object of the specified type.

See Also