ServiceProviderKeyedServiceExtensions 클래스

정의

에서 서비스를 가져오기 위한 확장 메서드를 IServiceProvider제공합니다.

public ref class ServiceProviderKeyedServiceExtensions abstract sealed
public static class ServiceProviderKeyedServiceExtensions
type ServiceProviderKeyedServiceExtensions = class
Public Module ServiceProviderKeyedServiceExtensions
상속
ServiceProviderKeyedServiceExtensions

메서드

GetKeyedService<T>(IServiceProvider, Object)

에서 형식 T 의 서비스를 가져옵니다 IServiceProvider.

GetKeyedServices(IServiceProvider, Type, Object)

에서 형식 serviceType 의 서비스 열거형을 IServiceProvider가져옵니다.

GetKeyedServices<T>(IServiceProvider, Object)

에서 형식 T 의 서비스 열거형을 IServiceProvider가져옵니다.

GetRequiredKeyedService(IServiceProvider, Type, Object)

에서 형식 serviceType 의 서비스를 가져옵니다 IServiceProvider.

GetRequiredKeyedService<T>(IServiceProvider, Object)

에서 형식 T 의 서비스를 가져옵니다 IServiceProvider.

적용 대상