3 writes to Delay
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (3)
HealthCheckPublisherHostedServiceTest.cs (3)
112
options.
Delay
= TimeSpan.FromMilliseconds(0);
519
options.
Delay
= TimeSpan.Zero;
761
options.
Delay
= TimeSpan.FromMinutes(5);
2 references to Delay
Microsoft.Extensions.Diagnostics.HealthChecks (2)
HealthCheckPublisherHostedService.cs (1)
55
return (registration?.Delay ?? _healthCheckPublisherOptions.Value.
Delay
, registration?.Period ?? _healthCheckPublisherOptions.Value.Period);
HealthCheckPublisherOptions.cs (1)
37
throw new ArgumentException($"The {nameof(
Delay
)} must not be infinite.", nameof(value));