public List<Module> FetchModules(XmlNode property)
        {
            XmlDocument document = new XmlDocument();

            document.LoadXml(property.InnerXml);

            ModulesProcessing mp = new ModulesProcessing();
            return mp.LoadModules(document);
        }
Esempio n. 2
0
        public List <Module> FetchModules(XmlNode property)
        {
            XmlDocument document = new XmlDocument();

            document.LoadXml(property.InnerXml);

            ModulesProcessing mp = new ModulesProcessing();

            return(mp.LoadModules(document));
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
        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);
        }