Beispiel #1
0
 public static SummaryValue Value(this ISummary summary)
 => summary.Values().Single().Value;
Beispiel #2
0
 public static SummaryValue?Value(this ISummary summary, string label)
 => summary.Values().TryGetValue(Labeled.Single(label), out SummaryValue value)
 ? value
 : (SummaryValue?)null;