App Metrics Fork me on GitHub
Show / Hide Table of Contents

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
Type Description
System.Lazy<IMetrics>

Methods

Register(String, Func<Task<HealthCheckResult>>)

Declaration
void Register(string name, Func<Task<HealthCheckResult>> check)
Parameters
Type Name Description
System.String name
System.Func<Task<HealthCheckResult>> check

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
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX