2 references to TimeProvider
Microsoft.Extensions.Hosting.Testing (2)
FakeHost.cs (2)
70
using var cancellationTokenSource =
TimeProvider
.CreateCancellationTokenSource(_options.StartUpTimeout);
93
using var cancellationTokenSource =
TimeProvider
.CreateCancellationTokenSource(_options.ShutDownTimeout);