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);
        }
Exemple #2
0
        public void WriteContentToObject(XElement content, SystemConfig obj)
        {
            XmlSystemConfigFilePolicy xmlFilePolicy = new XmlSystemConfigFilePolicy(obj, content);

            xmlFilePolicy.Read();
        }