private void OnResponse(GetStatusResponse response)
 {
     if (response.RequestId != _requestId)
         return;
     _source.TrySetResult(response);
 }
Esempio n. 2
0
 private static HealthInfo Healthy(GetStatusResponse response)
 {
     return new HealthInfo(HealthStatus.Healthy,  response.Details);
 }
Esempio n. 3
0
 private static HealthInfo Healthy(Stopwatch watch, GetStatusResponse response)
 {
     return new HealthInfo(HealthStatus.Healthy, watch.Elapsed, response.Details);
 }