public AnalyzePageCommand(WebPageLoader webPageLoader, HtmlParser htmlParser, ITextAnalysisDao dao) { this._webPageLoader = webPageLoader ?? throw new ArgumentException("Page loader is null!"); this._htmlParser = htmlParser ?? throw new ArgumentException("Html parser is null!"); this._dao = dao ?? throw new ArgumentException("Dao is null!"); }
public PrintAllStatisticsCommand(ITextAnalysisDao dao) { this._dao = dao ?? throw new ArgumentException("Dao is null!"); }