/// <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)); }
/// <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)); }
/// <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)); }
/// <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))); }