IServiceProvider Interface

IServiceProvider interface

Provides an immutable container for services.

public interface IServiceProvider

Methods

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

See Also