Пример #1
0
 public TfsLegacyCoverageReportProcessor(ICoverageUrlProvider urlProvider, ICoverageReportDownloader downloader,
                                         ICoverageReportConverter converter, ILogger logger) // was internal
     : base(converter, logger)
 {
     this.urlProvider = urlProvider ?? throw new ArgumentNullException(nameof(urlProvider));
     this.downloader  = downloader ?? throw new ArgumentNullException(nameof(downloader));
 }
Пример #2
0
        public TfsLegacyCoverageReportProcessor(ICoverageUrlProvider urlProvider, ICoverageReportDownloader downloader, ICoverageReportConverter converter) // was internal
            : base(converter)
        {
            if (urlProvider == null)
            {
                throw new ArgumentNullException("urlProvider");
            }
            if (downloader == null)
            {
                throw new ArgumentNullException("downloader");
            }

            this.urlProvider = urlProvider;
            this.downloader  = downloader;
        }
        public TfsLegacyCoverageReportProcessor(ICoverageUrlProvider urlProvider, ICoverageReportDownloader downloader, ICoverageReportConverter converter) // was internal
            : base(converter)
        {
            if (urlProvider == null)
            {
                throw new ArgumentNullException("urlProvider");
            }
            if (downloader == null)
            {
                throw new ArgumentNullException("downloader");
            }

            this.urlProvider = urlProvider;
            this.downloader = downloader;
        }