public virtual void MergeImport(System.Xml.XmlReader xml) { // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } switch (xml.NamespaceURI + "|" + xml.LocalName) { case "Zetbox.App.GUI|ControlKind": this._fk_guid_ControlKind = XmlStreamer.ReadNullableGuid(xml); break; case "Zetbox.App.GUI|ControlRef": this._fk_guid_ControlRef = XmlStreamer.ReadNullableGuid(xml); break; case "Zetbox.App.GUI|ExportGuid": // Import must have default value set this.Proxy.ExportGuid = XmlStreamer.ReadGuid(xml); this._isExportGuidSet = true; break; case "Zetbox.App.GUI|Module": this._fk_guid_Module = XmlStreamer.ReadNullableGuid(xml); break; case "Zetbox.App.GUI|Toolkit": Proxy.Toolkit = (Zetbox.App.GUI.Toolkit)XmlStreamer.ReadNullableInt32(xml); break; } }
public override void MergeImport(System.Xml.XmlReader xml) { base.MergeImport(xml); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } switch (xml.NamespaceURI + "|" + xml.LocalName) { case "Zetbox.App.Base|DateTimeStyle": Proxy.DateTimeStyle = (Zetbox.App.Base.DateTimeStyles?)XmlStreamer.ReadNullableInt32(xml); break; } }
public override void MergeImport(System.Xml.XmlReader xml) { base.MergeImport(xml); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } switch (xml.NamespaceURI + "|" + xml.LocalName) { case "Zetbox.App.Calendar|Offset": this._Offset = XmlStreamer.ReadNullableInt32(xml); break; } }
public override IEnumerable <IPersistenceObject> FromStream(System.Xml.XmlReader xml) { var baseResult = base.FromStream(xml); switch (xml.NamespaceURI + "|" + xml.LocalName) { case "Zetbox.App.Test|MyIntProperty": this._MyIntProperty = XmlStreamer.ReadNullableInt32(xml); break; case "http://dasz.at/Zetbox|ObjectProp": this._fk_ObjectProp = XmlStreamer.ReadNullableInt32(xml); break; case "Zetbox.App.Test|StringProp": this._StringProp = XmlStreamer.ReadString(xml); break; case "Zetbox.App.Test|TestEnumProp": this.TestEnumProp = (Zetbox.App.Test.TestEnum)XmlStreamer.ReadInt32(xml); break; } return(baseResult); }