IServiceScopeFactory Arabirim

Tanım

Bir kapsam içinde hizmet oluşturmak için kullanılan örneklerini IServiceScopeoluşturur.

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

Yöntemler

Name Description
CreateScope()

Yeni oluşturulan kapsamdaki IServiceScopeIServiceProvider bağımlılıkları çözümlemek için kullanılan içeren bir oluşturun.

Uzantı Metotları

Name Description
CreateAsyncScope(IServiceScopeFactory)

Kapsamı belirlenmiş hizmetleri çözümlemek için kullanılabilecek yeni AsyncServiceScope bir oluşturur.

Şunlara uygulanır