Interface IHealthCheckFactory
Namespace:App.Metrics.Health.Abstractions
Assembly:cs.temp.dll.dll
Syntax
public interface IHealthCheckFactory
Properties
Checks
Declaration
ConcurrentDictionary<string, HealthCheck> Checks { get; }
Property Value
Type |
Description |
ConcurrentDictionary<System.String, HealthCheck> |
|
Metrics
Declaration
Lazy<IMetrics> Metrics { get; }
Property Value
Methods
Register(String, Func<Task<HealthCheckResult>>)
Declaration
void Register(string name, Func<Task<HealthCheckResult>> check)
Parameters
Register(String, Func<Task<String>>)
Declaration
void Register(string name, Func<Task<string>> check)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Func<Task<System.String>> |
check |
|