public IObjectProcessor ProcessorForObject(string anObject, string style = "") { IObjectProcessor processor = (ObjectProcessors.Where(m => m.Name == anObject)).FirstOrDefault(); if (processor == null) { processor = new DumbObjectProcessor(); } return(processor); }
public string processObject(XElement item, string processor, object options = null) { IObjectProcessor objectProcessor = ProcessorForObject(processor, ""); return(objectProcessor.ProcessObject(item, options)); }