1 write to _host
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\Shared\SignalR\InProcessTestServer.cs (1)
101
_host
= new HostBuilder()
6 references to _host
Microsoft.AspNetCore.SignalR.Tests.Utils (6)
src\Shared\SignalR\InProcessTestServer.cs (6)
59
public override IServiceProvider Services =>
_host
.Services;
118
await
_host
.StartAsync(cts.Token);
129
_url =
_host
.Services.GetService<IServer>().Features.Get<IServerAddressesFeature>().Addresses.Single();
131
_lifetime =
_host
.Services.GetRequiredService<IHostApplicationLifetime>();
166
await
_host
.StopAsync();
167
_host
.Dispose();