public IProcessor CreateFromXML(XmlElement element) { if (element.Name != cElementName) { throw new ArgumentException(string.Format("argument must be a {0} element", cElementName), "element"); } SearchTextProcessorBaseProperties baseProperties = new SearchTextProcessorBaseProperties(); baseProperties.FillFromXml(element); return(new FindLineProcessor(baseProperties)); }
private FindLineProcessor(SearchTextProcessorBaseProperties baseProperties) : base(baseProperties) { }
protected SearchTextProcessor(SearchTextProcessorBaseProperties baseProperties) { mBaseProperties = baseProperties ?? throw new ArgumentNullException("baseProperties"); }