public DocumentProcessor(IList<INodeProcessor> pluginNodeProcessors, ITypedMarkupParser typedMarkupParser, IUntypedMarkupParser untypedMarkupParser) { processors = new List<INodeProcessor>(); if (pluginNodeProcessors != null) processors.AddRange(pluginNodeProcessors); processors.AddRange(defaultNodeProcessors); this.typedMarkupParser = typedMarkupParser ?? new TypedMarkupParser(null); this.untypedMarkupParser = untypedMarkupParser ?? new UntypedMarkupParser(null); }
public DocumentProcessor(IList <INodeProcessor> pluginNodeProcessors, ITypedMarkupParser typedMarkupParser, IUntypedMarkupParser untypedMarkupParser) { processors = new List <INodeProcessor>(); if (pluginNodeProcessors != null) { processors.AddRange(pluginNodeProcessors); } processors.AddRange(defaultNodeProcessors); this.typedMarkupParser = typedMarkupParser ?? new TypedMarkupParser(null); this.untypedMarkupParser = untypedMarkupParser ?? new UntypedMarkupParser(null); }