1 interface inheriting from IManualHealthCheck
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
IManualHealthCheck.cs (1)
23
public interface IManualHealthCheck<T> :
IManualHealthCheck
9 references to IManualHealthCheck
Microsoft.Extensions.Diagnostics.HealthChecks.Common (9)
CommonHealthChecksExtensions.Manual.cs (4)
41
/// <param name="manualHealthCheck">The <see cref="
IManualHealthCheck
"/>.</param>
43
public static void ReportHealthy(this
IManualHealthCheck
manualHealthCheck)
49
/// <param name="manualHealthCheck">The <see cref="
IManualHealthCheck
"/>.</param>
52
public static void ReportUnhealthy(this
IManualHealthCheck
manualHealthCheck, string reason)
IManualHealthCheck.cs (1)
22
/// <typeparam name="T">The type of <see cref="
IManualHealthCheck
"/>.</typeparam>
ManualHealthCheckService.cs (1)
10
/// Lets you manually modify the healthiness of your application. This health check will only report healthy on all registered instances of <see cref="
IManualHealthCheck
"/> are healthy.
ManualHealthCheckTracker.cs (3)
15
private readonly ConcurrentDictionary<
IManualHealthCheck
, bool> _checks = new();
17
public void Register(
IManualHealthCheck
check)
22
public void Unregister(
IManualHealthCheck
checkToRemove)