共用方式為


IServiceScope.ServiceProvider Property

Definition

Gets the IServiceProvider used to resolve dependencies from the scope.

public:
 property IServiceProvider ^ ServiceProvider { IServiceProvider ^ get(); };
public IServiceProvider ServiceProvider { get; }
member this.ServiceProvider : IServiceProvider
Public ReadOnly Property ServiceProvider As IServiceProvider

Property Value

Applies to