IKeyedServiceProvider 인터페이스

정의

키 및 형식을 사용하여 서비스를 검색합니다.

public interface class IKeyedServiceProvider : IServiceProvider
public interface IKeyedServiceProvider : IServiceProvider
type IKeyedServiceProvider = interface
    interface IServiceProvider
Public Interface IKeyedServiceProvider
Implements IServiceProvider
파생
구현

메서드

GetKeyedService(Type, Object)

지정된 형식의 서비스 개체를 가져옵니다.

GetRequiredKeyedService(Type, Object)

이 인터페이스를 구현하는 IServiceProvider에서 serviceType 형식의 서비스를 가져옵니다.

GetService(Type)

지정된 형식의 서비스 개체를 가져옵니다.

(다음에서 상속됨 IServiceProvider)

확장 메서드

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.

CreateAsyncScope(IServiceProvider)

범위 서비스를 확인하는 데 사용할 수 있는 새 AsyncServiceScope를 만듭니다.

CreateScope(IServiceProvider)

범위 서비스를 확인하는 데 사용할 수 있는 새 IServiceScope를 만듭니다.

GetRequiredService(IServiceProvider, Type)

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

GetRequiredService<T>(IServiceProvider)

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

GetService<T>(IServiceProvider)

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

GetServices(IServiceProvider, Type)

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

GetServices<T>(IServiceProvider)

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

GetFakeLogCollector(IServiceProvider)

가짜 로거로 전송된 로그 레코드를 수집하는 개체를 가져옵니다.

GetFakeRedactionCollector(IServiceProvider)

종속성 주입 컨테이너에서 가짜 재배포기 수집기 instance 가져옵니다.

적용 대상