private static GetMetricsResponse MapToResponse(EventResultClusterMetrics metrics) { return(new GetMetricsResponse() { ElapsedTimeAvg = metrics.ElapsedTimeAvg, ErrorCount = metrics.ErrorCount, SuccessCount = metrics.SuccessCount }); }
internal EventClusterMetricsMongoObject(EventResultClusterMetrics metrics) { SuccessCount = metrics.SuccessCount; ErrorCount = metrics.ErrorCount; ElapsedTimeAvg = metrics.ElapsedTimeAvg; }