Пример #1
0
 public static SummarySample Sample(this ISummary summary, double quantile)
 => summary.Value().Samples.First(s => s.Quantile == quantile);
Пример #2
0
 public static double Sum(this ISummary summary)
 => summary.Value().Sum;
Пример #3
0
 public static long Count(this ISummary summary)
 => summary.Value().Count;
Пример #4
0
 public static SummarySample?Sample(this ISummary summary, string label, double quantile)
 => summary.Value(label)?.Samples.First(s => s.Quantile == quantile);
Пример #5
0
 public static double?Sum(this ISummary summary, string label)
 => summary.Value(label)?.Sum;
Пример #6
0
 public static long?Count(this ISummary summary, string label)
 => summary.Value(label)?.Count;