public static void RenderReport(ReportResult result, Task task)
        {
            Ensure.ArgumentIsNotNull(result, "result");
            Ensure.ArgumentIsNotNull(task, "task");

            ITeamCityMessageProvider messageProvider = IoC.Resolve<ITeamCityMessageProvider>(new { taskToUseForLogging = task });

            TeamCityReportGenerator report = new TeamCityReportGenerator();
            report.Render(result, messageProvider);
        }
Example #2
0
        public static void RenderReport(ReportResult result, Task task)
        {
            Ensure.ArgumentIsNotNull(result, "result");
            Ensure.ArgumentIsNotNull(task, "task");

            ITeamCityMessageProvider messageProvider = IoC.Resolve <ITeamCityMessageProvider>(new { taskToUseForLogging = task });

            TeamCityReportGenerator report = new TeamCityReportGenerator();

            report.Render(result, messageProvider);
        }