public XElement ReadContentFromObject(SystemContext obj) { XElement content = new XElement("SystemContext"); XmlRootAttributeVersion.SetVersion(content, ObjectVersion.SystemContext); XmlSystemContextFilePolicy xmlFilePolicy = new XmlSystemContextFilePolicy(obj, content); xmlFilePolicy.Write(); return(content); }
public void WriteContentToObject(XElement content, SystemContext obj) { XmlSystemContextFilePolicy xmlFilePolicy = new XmlSystemContextFilePolicy(obj, content); xmlFilePolicy.Read(); }