Esempio n. 1
0
        public XElement ReadContentFromObject(SystemConfig obj)
        {
            XElement content = new XElement("SystemConfig");

            XmlRootAttributeVersion.SetVersion(content, ObjectVersion.SystemConfig);
            XmlSystemConfigFilePolicy xmlFilePolicy = new XmlSystemConfigFilePolicy(obj, content);

            xmlFilePolicy.Write();
            return(content);
        }
Esempio n. 2
0
        public void WriteContentToObject(XElement content, SystemConfig obj)
        {
            XmlSystemConfigFilePolicy xmlFilePolicy = new XmlSystemConfigFilePolicy(obj, content);

            xmlFilePolicy.Read();
        }