Esempio n. 1
0
        public static IDictionary <Type, object> BuildReportDictionary()
        {
            var newDictionary = new Dictionary <Type, object>();

            var projectBuildHierarchyReport = new ProjectBuildHierarchyReport();

            newDictionary.Add(typeof(ProjectBuildHierarchyReport), projectBuildHierarchyReport);

            var warningSummaryReport = new WarningSummaryReport();

            newDictionary.Add(typeof(WarningSummaryReport), warningSummaryReport);

            var warningByProjectSummaryReport = new WarningByProjectSummaryReport();

            newDictionary.Add(typeof(WarningByProjectSummaryReport), warningByProjectSummaryReport);

            var timespanItemsReport = new TimestampItemsReport();

            newDictionary.Add(typeof(TimestampItemsReport), timespanItemsReport);

            return(newDictionary);
        }
 public TimespanHandler(ref TimestampItemsReport timestampItemsReport)
 {
     _TimespanItemsReport = timestampItemsReport;
 }