public HtmlContentFormatter(IHtmlFeatureFormatter htmlFeatureFormatter, HtmlIndexFormatter htmlIndexFormatter) { if (htmlFeatureFormatter == null) throw new ArgumentNullException("htmlFeatureFormatter"); if (htmlIndexFormatter == null) throw new ArgumentNullException("htmlIndexFormatter"); this.htmlFeatureFormatter = htmlFeatureFormatter; this.htmlIndexFormatter = htmlIndexFormatter; }
public HtmlContentFormatter(IHtmlFeatureFormatter htmlFeatureFormatter, HtmlIndexFormatter htmlIndexFormatter) { if (htmlFeatureFormatter == null) { throw new ArgumentNullException("htmlFeatureFormatter"); } if (htmlIndexFormatter == null) { throw new ArgumentNullException("htmlIndexFormatter"); } this.htmlFeatureFormatter = htmlFeatureFormatter; this.htmlIndexFormatter = htmlIndexFormatter; }