public AnnouncingUrlAggregator(IValidatorRunnerContext context, IProjectFileParser projectFileParser, ISitemapsParser sitemapsParser) { if (context == null) throw new ArgumentNullException("context"); if (projectFileParser == null) throw new ArgumentNullException("projectFileParser"); if (sitemapsParser == null) throw new ArgumentNullException("sitemapsParser"); this.mContext = context; this.mProjectFileParser = projectFileParser; this.mSitemapsParser = sitemapsParser; }
public CssValidatorRunner(IValidatorRunnerContext context, IUrlAggregator urlAggregator, IUrlProcessorFactory urlProcessorFactory) { if (context == null) throw new ArgumentNullException("context"); if (urlAggregator == null) throw new ArgumentNullException("urlAggregator"); if (urlProcessorFactory == null) throw new ArgumentNullException("urlProcessorFactory"); this.mContext = context; this.mUrlAggregator = urlAggregator; this.mUrlProcessorFactory = urlProcessorFactory; }