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

            document.LoadXml(property.InnerXml);

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

            document.LoadXml(property.InnerXml);

            ModulesProcessing mp = new ModulesProcessing();

            return(mp.LoadModules(document));
        }
Example #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);
        }
Example #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);
        }