Exemple #1
0
 /// <summary>
 /// Unregisters the given <seealso cref="HealthCheck" />.
 /// </summary>
 /// <param name="healthCheck">a <seealso cref="HealthCheck" /></param>
 public void Unregister(HealthCheck healthCheck)
 {
     Unregister(healthCheck.Name);
 }
Exemple #2
0
 /// <summary>
 /// Registers an application <seealso cref="HealthCheck" />.
 /// </summary>
 /// <param name="healthCheck">the <seealso cref="HealthCheck" /> instance</param>
 public void Register(HealthCheck healthCheck)
 {
     healthChecks.PutIfAbsent(healthCheck.Name, healthCheck);
 }