1 write to _host
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
213
_host
= CreateHost(hostBuilder);
5 references to _host
Microsoft.AspNetCore.Mvc.Testing (5)
WebApplicationFactory.cs (5)
91
return
_host
?.Services ?? _server.Host.Services;
214
_server = (TestServer)
_host
.Services.GetRequiredService<IServer>();
594
if (
_host
!= null)
596
await
_host
.StopAsync().ConfigureAwait(false);
597
_host
?.Dispose();