IServiceScopeFactory 인터페이스

정의

팩터리는 범위 내에서 서비스를 만드는 데 사용되는 IServiceScope의 인스턴스를 만드는 팩터리입니다.

public interface class IServiceScopeFactory
public interface IServiceScopeFactory
type IServiceScopeFactory = interface
Public Interface IServiceScopeFactory

메서드

CreateScope()

새로 만든 범위에서 종속성을 확인하는 데 사용되는 IServiceProvider를 포함하는 IServiceScope를 만듭니다.

확장 메서드

CreateAsyncScope(IServiceScopeFactory)

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

적용 대상