ServiceProviderKeyedServiceExtensions Klasa

Definicja

Udostępnia metody rozszerzenia do pobierania usług z klasy IServiceProvider.

public ref class ServiceProviderKeyedServiceExtensions abstract sealed
public static class ServiceProviderKeyedServiceExtensions
type ServiceProviderKeyedServiceExtensions = class
Public Module ServiceProviderKeyedServiceExtensions
Dziedziczenie
ServiceProviderKeyedServiceExtensions

Metody

GetKeyedService<T>(IServiceProvider, Object)

Pobiera usługę typu T z elementu IServiceProvider.

GetKeyedServices(IServiceProvider, Type, Object)

Pobiera wyliczenie usług typu serviceType z klasy IServiceProvider.

GetKeyedServices<T>(IServiceProvider, Object)

Pobiera wyliczenie usług typu T z klasy IServiceProvider.

GetRequiredKeyedService(IServiceProvider, Type, Object)

Pobiera usługę typu serviceType z elementu IServiceProvider.

GetRequiredKeyedService<T>(IServiceProvider, Object)

Pobiera usługę typu T z elementu IServiceProvider.

Dotyczy