Implemented interface member:
method
StartAsync
Microsoft.Extensions.Hosting.IHostedService.StartAsync(System.Threading.CancellationToken)
12 references to StartAsync
Aspire.Hosting.Testing.Tests (2)
ResourceLoggerForwarderServiceTests.cs (2)
39
await resourceLogForwarder.
StartAsync
(hostApplicationLifetime.ApplicationStopping);
85
await resourceLogForwarder.
StartAsync
(hostApplicationLifetime.ApplicationStopping);
Microsoft.Extensions.Diagnostics.Probes.Tests (2)
TcpEndpointProbesServiceTests.cs (2)
42
await tcpEndpointProbesService.
StartAsync
(cts.Token);
92
await tcpEndpointProbesService.
StartAsync
(cts.Token);
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (7)
ResourceMonitoringServiceTests.cs (7)
214
_ = tracker.
StartAsync
(CancellationToken.None);
254
await tracker.
StartAsync
(CancellationToken.None);
333
await tracker.
StartAsync
(CancellationToken.None);
369
await tracker.
StartAsync
(CancellationToken.None);
454
_ = tracker.
StartAsync
(CancellationToken.None);
563
_ = tracker.
StartAsync
(CancellationToken.None);
624
_ = tracker.
StartAsync
(CancellationToken.None);
Microsoft.Extensions.Hosting.Testing.Tests (1)
HostTerminatorServiceTests.cs (1)
24
await sut.
StartAsync
(CancellationToken.None);