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