Beispiel #1
0
 /// <summary>
 /// Aggregate a collection of staticstics counters.
 /// </summary>
 /// <param name="counters">Collection to aggregate.</param>
 /// <returns>Summary statistics.</returns>
 public static Statistics Summarize(this ICollection <Statistics> counters)
 {
     return(Statistics.Summarize(counters));
 }
Beispiel #2
0
 /// <summary>
 /// Aggregate a collection of staticstics counters.
 /// </summary>
 /// <param name="counters">Collection to aggregate.</param>
 /// <returns>Summary statistics.</returns>
 public static Statistics Summarize(this IEnumerable <Statistics> counters)
 {
     return(Statistics.Summarize(counters));
 }
Beispiel #3
0
 /// <summary>
 /// Aggregate a collection of staticstics counters.
 /// </summary>
 /// <param name="counters">Collection to aggregate.</param>
 /// <returns>Summary statistics.</returns>
 public static Statistics Summarize(this IList <Statistics> counters)
 {
     return(Statistics.Summarize(counters));
 }
Beispiel #4
0
 /// <summary>
 /// Aggregate multiple counters with the current instance.
 /// </summary>
 /// <param name="others">List of counters to aggregate to the current instance.</param>
 /// <returns>Current instance, summarized with the given statistics.</returns>
 public Statistics SummarizeWith(IEnumerable <Statistics> others)
 {
     return(this.SummarizeWith(Statistics.Summarize(others)));
 }