Microsoft.Extensions.DependencyInjection.AsyncServiceScope
An IServiceScope implementation that implements IAsyncDisposable.
namespace Microsoft.Extensions.DependencyInjection
{
public readonly struct AsyncServiceScope : IServiceScope, IDisposable, IAsyncDisposable
{
public IServiceProvider ServiceProvider { get; }
public AsyncServiceScope(IServiceScope serviceScope);
public void Dispose();
public ValueTask DisposeAsync();
}
}