1 write to _host
Microsoft.AspNetCore.Mvc.Testing (1)
DeferredHostBuilder.cs (1)
125_host = host;
5 references to _host
Microsoft.AspNetCore.Mvc.Testing (5)
DeferredHostBuilder.cs (5)
129public IServiceProvider Services => _host.Services; 131public void Dispose() => _host.Dispose(); 135if (_host is IAsyncDisposable disposable) 152using var reg2 = _host.Services.GetRequiredService<IHostApplicationLifetime>().ApplicationStarted.UnsafeRegister(_ => _hostStartedTcs.TrySetResult(), null); 157public Task StopAsync(CancellationToken cancellationToken = default) => _host.StopAsync(cancellationToken);