コード例 #1
0
        public MSBuildPostProcessor(ICoverageReportProcessor codeCoverageProcessor, ISonarScanner scanner, ISummaryReportBuilder reportBuilder, ILogger logger,
                                    ITargetsUninstaller targetUninstaller)
        {
            if (codeCoverageProcessor == null)
            {
                throw new ArgumentNullException(nameof(codeCoverageProcessor));
            }
            if (scanner == null)
            {
                throw new ArgumentNullException(nameof(scanner));
            }
            if (reportBuilder == null)
            {
                throw new ArgumentNullException(nameof(reportBuilder));
            }
            if (logger == null)
            {
                throw new ArgumentNullException(nameof(logger));
            }
            if (targetUninstaller == null)
            {
                throw new ArgumentNullException(nameof(targetUninstaller));
            }

            this.logger = logger;
            this.codeCoverageProcessor = codeCoverageProcessor;
            this.sonarScanner          = scanner;
            this.reportBuilder         = reportBuilder;
            this.targetUninstaller     = targetUninstaller;
        }
コード例 #2
0
        public MSBuildPostProcessor(ICoverageReportProcessor codeCoverageProcessor, ISonarScanner scanner, ISummaryReportBuilder reportBuilder)
        {
            if (codeCoverageProcessor == null)
            {
                throw new ArgumentNullException("codeCoverageProcessor");
            }
            if (scanner == null)
            {
                throw new ArgumentNullException("param");
            }
            if (reportBuilder == null)
            {
                throw new ArgumentNullException("reportBuilder");
            }

            this.codeCoverageProcessor = codeCoverageProcessor;
            this.sonarScanner          = scanner;
            this.reportBuilder         = reportBuilder;
        }
コード例 #3
0
        public MSBuildPostProcessor(ICoverageReportProcessor codeCoverageProcessor, ISonarRunner runner, ISummaryReportBuilder reportBuilder)
        {
            if (codeCoverageProcessor == null)
            {
                throw new ArgumentNullException("codeCoverageProcessor");
            }
            if (runner == null)
            {
                throw new ArgumentNullException("param");
            }
            if (reportBuilder == null)
            {
                throw new ArgumentNullException("reportBuilder");
            }

            this.codeCoverageProcessor = codeCoverageProcessor;
            this.sonarRunner = runner;
            this.reportBuilder = reportBuilder;
        }