ServiceExtensions Class

Definition

public ref class ServiceExtensions abstract sealed
public static class ServiceExtensions
type ServiceExtensions = class
Public Module ServiceExtensions
Inheritance
ServiceExtensions

Methods

GetService<TService,TInterface>(IServiceProvider)

Gets a service interface from a service provider.

GetService<TService,TInterface>(IServiceProvider, Boolean)

Gets a service interface from a service provider.

GetServiceAsync<TService,TInterface>(IAsyncServiceProvider)

Gets a service interface from a service provider asynchronously.

GetServiceAsync<TService,TInterface>(IAsyncServiceProvider, Boolean)

Gets a service interface from a service provider asynchronously.

Applies to