Method UseScope
UseScope(IServiceProvider)
Current verwendet den Service-Provider eines bestehenden Service-Scopes.
public static IDisposable UseScope(IServiceProvider scopedServiceProvider)
Parameters
scopedServiceProviderIServiceProvider
Returns
UseScope(IUserControlledScope)
Current verwendet den mit CreateUserControlledScope() erstellten ServiceProvider-Scope.
public static IDisposable UseScope(IUserControlledScope scope)
Parameters
scopeIUserControlledScope
Returns
UseScope(IUserControlledScope, IGlobalObjects)
Current verwendet den mit CreateUserControlledScope() erstellten ServiceProvider-Scope und
GlobalContext verwendet das übergebene global.
public static IDisposable UseScope(IUserControlledScope scope, IGlobalObjects global)
Parameters
scopeIUserControlledScopeglobalIGlobalObjects