共用方式為


DefaultHttpContext.ServiceScopeFactory 屬性

定義

取得或設定 IServiceScopeFactory 這個實例的 。

public:
 property Microsoft::Extensions::DependencyInjection::IServiceScopeFactory ^ ServiceScopeFactory { Microsoft::Extensions::DependencyInjection::IServiceScopeFactory ^ get(); void set(Microsoft::Extensions::DependencyInjection::IServiceScopeFactory ^ value); };
public Microsoft.Extensions.DependencyInjection.IServiceScopeFactory ServiceScopeFactory { get; set; }
member this.ServiceScopeFactory : Microsoft.Extensions.DependencyInjection.IServiceScopeFactory with get, set
Public Property ServiceScopeFactory As IServiceScopeFactory

屬性值

IServiceScopeFactory

適用於