Example #1
0
            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));
            }
Example #2
0
 private FindLineProcessor(SearchTextProcessorBaseProperties baseProperties) : base(baseProperties)
 {
 }
Example #3
0
 protected SearchTextProcessor(SearchTextProcessorBaseProperties baseProperties)
 {
     mBaseProperties = baseProperties ?? throw new ArgumentNullException("baseProperties");
 }