public List<Module> FetchModules(XmlNode property) { XmlDocument document = new XmlDocument(); document.LoadXml(property.InnerXml); ModulesProcessing mp = new ModulesProcessing(); return mp.LoadModules(document); }
public List <Module> FetchModules(XmlNode property) { XmlDocument document = new XmlDocument(); document.LoadXml(property.InnerXml); ModulesProcessing mp = new ModulesProcessing(); return(mp.LoadModules(document)); }
public Panel(XmlNode xml) { try { this.XML = new XmlDocument(); this.XML.LoadXml(xml.OuterXml); } catch (Exception ex) { Framework.Utilities.DebugLogging.Log(ex.Message + " ++ " + ex.StackTrace); throw new Exception("XML not well formed: " + ex.Message); } this.LoadProperties(); mp = new ModulesProcessing(); this.Modules = mp.LoadModules(this.XML); }
public Panel(XmlNode xml) { try { this.XML = new XmlDocument(); this.XML.LoadXml(xml.OuterXml); } catch (Exception ex) { Framework.Utilities.DebugLogging.Log(ex.Message + " ++ " + ex.StackTrace); throw new Exception("XML not well formed: " + ex.Message); } this.LoadProperties(); mp = new ModulesProcessing(); this.Modules = mp.LoadModules(this.XML); }