ISupportRequiredService 인터페이스

정의

IServiceProvider에서 지원되는 경우 GetRequiredService<T>(IServiceProvider)에서 서비스를 확인하는 데 사용되는 선택적 계약입니다.

public interface class ISupportRequiredService
public interface ISupportRequiredService
type ISupportRequiredService = interface
Public Interface ISupportRequiredService

메서드

GetRequiredService(Type)

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

적용 대상