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