1 write to Period
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (1)
HealthCheckPublisherHostedServiceTest.cs (1)
762
options.
Period
= TimeSpan.FromMinutes(5);
4 references to Period
Microsoft.Extensions.Diagnostics.HealthChecks (4)
HealthCheckPublisherHostedService.cs (1)
55
return (registration?.Delay ?? _healthCheckPublisherOptions.Value.Delay, registration?.Period ?? _healthCheckPublisherOptions.Value.
Period
);
HealthCheckPublisherOptions.cs (3)
49
/// The <see cref="
Period
"/> cannot be set to a value lower than 1 second.
58
throw new ArgumentException($"The {nameof(
Period
)} must be greater than or equal to one second.", nameof(value));
63
throw new ArgumentException($"The {nameof(
Period
)} must not be infinite.", nameof(value));