1 write to _host
Microsoft.AspNetCore.Hosting.Tests (1)
Fakes\GenericWebHost.cs (1)
19
_host
= host;
5 references to _host
Microsoft.AspNetCore.Hosting.Tests (5)
Fakes\GenericWebHost.cs (5)
24
public IServiceProvider Services =>
_host
.Services;
26
public void Dispose() =>
_host
.Dispose();
28
public void Start() =>
_host
.Start();
30
public Task StartAsync(CancellationToken cancellationToken = default) =>
_host
.StartAsync(cancellationToken);
32
public Task StopAsync(CancellationToken cancellationToken = default) =>
_host
.StopAsync(cancellationToken);