CakeReportPrinterBase.

GetTotalTime(IEnumerable<CakeReportEntry>) Method

Summary

Calculates the total time it took to process all CakeReportEntry elements.

Syntax

protected static TimeSpan GetTotalTime(IEnumerable<CakeReportEntry> entries)

Parameters

Name Type Description
entries IEnumerable<CakeReportEntry> The entries to calculate.

Return Value

Type Description
TimeSpan The sum of time it took to perform all entries.