コード例 #1
0
 public virtual void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     xml.WriteAttributeString("ExportGuid", this._ExportGuid.ToString());
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream(ControlKind != null ? ControlKind.ExportGuid : (Guid?)null, xml, "ControlKind", "Zetbox.App.GUI");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream(ControlRef != null ? ControlRef.ExportGuid : (Guid?)null, xml, "ControlRef", "Zetbox.App.GUI");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream(Module != null ? Module.ExportGuid : (Guid?)null, xml, "Module", "Zetbox.App.GUI");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream((int?)((Zetbox.App.GUI.ViewDescriptor) this).Toolkit, xml, "Toolkit", "Zetbox.App.GUI");
     }
 }
コード例 #2
0
 public override void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     base.Export(xml, modules);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights()) return;
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) XmlStreamer.ToStream(Group != null ? Group.ExportGuid : (Guid?)null, xml, "Group", "Zetbox.App.Base");
 }
コード例 #3
0
 public override void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     base.Export(xml, modules);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream(FalseIcon != null ? FalseIcon.ExportGuid : (Guid?)null, xml, "FalseIcon", "Zetbox.App.GUI");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._FalseLabel, xml, "FalseLabel", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream(NullIcon != null ? NullIcon.ExportGuid : (Guid?)null, xml, "NullIcon", "Zetbox.App.GUI");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._NullLabel, xml, "NullLabel", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream(TrueIcon != null ? TrueIcon.ExportGuid : (Guid?)null, xml, "TrueIcon", "Zetbox.App.GUI");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._TrueLabel, xml, "TrueLabel", "Zetbox.App.Base");
     }
 }
コード例 #4
0
 public override void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     base.Export(xml, modules);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._HasPersistentOrder, xml, "HasPersistentOrder", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._ImplementorRoleName, xml, "ImplementorRoleName", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._IsList, xml, "IsList", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._ItemRoleName, xml, "ItemRoleName", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(ReferencedObjectClass != null ? ReferencedObjectClass.ExportGuid : (Guid?)null, xml, "ReferencedObjectClass", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._Verb, xml, "Verb", "Zetbox.App.Base");
     }
 }
コード例 #5
0
 public virtual void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     xml.WriteAttributeString("ExportGuid", this._ExportGuid.ToString());
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     System.Diagnostics.Debug.Assert(this._isChangedOnSet, "Exported objects need to have all default values evaluated");
     if (modules.Contains("*") || modules.Contains("at.dasz.DocumentManagement"))
     {
         XmlStreamer.ToStream(this._ChangedOn, xml, "ChangedOn", "at.dasz.DocumentManagement");
     }
     System.Diagnostics.Debug.Assert(this._isCreatedOnSet, "Exported objects need to have all default values evaluated");
     if (modules.Contains("*") || modules.Contains("at.dasz.DocumentManagement"))
     {
         XmlStreamer.ToStream(this._CreatedOn, xml, "CreatedOn", "at.dasz.DocumentManagement");
     }
     if (modules.Contains("*") || modules.Contains("at.dasz.DocumentManagement"))
     {
         XmlStreamer.ToStream(this._MachineName, xml, "MachineName", "at.dasz.DocumentManagement");
     }
     if (modules.Contains("*") || modules.Contains("at.dasz.DocumentManagement"))
     {
         XmlStreamer.ToStream(this._PickupDirectory, xml, "PickupDirectory", "at.dasz.DocumentManagement");
     }
 }
コード例 #6
0
 public virtual void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     xml.WriteAttributeString("ExportGuid", this._ExportGuid.ToString());
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     System.Diagnostics.Debug.Assert(this._isChangedOnSet, "Exported objects need to have all default values evaluated");
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._ChangedOn, xml, "ChangedOn", "Zetbox.App.Base");
     }
     System.Diagnostics.Debug.Assert(this._isCreatedOnSet, "Exported objects need to have all default values evaluated");
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._CreatedOn, xml, "CreatedOn", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._MimeType, xml, "MimeType", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._OriginalName, xml, "OriginalName", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._StoragePath, xml, "StoragePath", "Zetbox.App.Base");
     }
 }
コード例 #7
0
 public override void ToStream(System.Xml.XmlWriter xml)
 {
     base.ToStream(xml);
     XmlStreamer.ToStream(this._MyIntProperty, xml, "MyIntProperty", "Zetbox.App.Test");
     XmlStreamer.ToStream(this._fk_ObjectProp, xml, "ObjectProp", "http://dasz.at/Zetbox");
     XmlStreamer.ToStream(this._StringProp, xml, "StringProp", "Zetbox.App.Test");
     XmlStreamer.ToStream((int?)this.TestEnumProp, xml, "TestEnumProp", "Zetbox.App.Test");
 }
コード例 #8
0
 public override void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     base.Export(xml, modules);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this.Proxy.Enumeration != null ? this.Proxy.Enumeration.ExportGuid : (Guid?)null, xml, "Enumeration", "Zetbox.App.Base");
     }
 }
コード例 #9
0
 public override void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     base.Export(xml, modules);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream(this._Predicate, xml, "Predicate", "Zetbox.App.GUI");
     }
 }
コード例 #10
0
 public override void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     base.Export(xml, modules);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream(ObjectClass != null ? ObjectClass.ExportGuid : (Guid?)null, xml, "ObjectClass", "Zetbox.App.GUI");
     }
 }
コード例 #11
0
 public override void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     base.Export(xml, modules);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(DefaultPropertyViewModelDescriptor != null ? DefaultPropertyViewModelDescriptor.ExportGuid : (Guid?)null, xml, "DefaultPropertyViewModelDescriptor", "Zetbox.App.Base");
     }
 }
コード例 #12
0
 public override void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     base.Export(xml, modules);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Calendar"))
     {
         XmlStreamer.ToStream((int?)((Zetbox.App.Calendar.DayOfWeekCalendarRule) this).DayOfWeek, xml, "DayOfWeek", "Zetbox.App.Calendar");
     }
 }
コード例 #13
0
 public override void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     base.Export(xml, modules);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     System.Diagnostics.Debug.Assert(this._isIsUniqueSet, "Exported objects need to have all default values evaluated");
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._IsUnique, xml, "IsUnique", "Zetbox.App.Base");
     }
 }
コード例 #14
0
 public virtual void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     xml.WriteAttributeString("ExportGuid", this._ExportGuid.ToString());
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(Module != null ? Module.ExportGuid : (Guid?)null, xml, "Module", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._Name, xml, "Name", "Zetbox.App.Base");
     }
 }
コード例 #15
0
 public virtual void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     xml.WriteAttributeString("ExportGuid", this._ExportGuid.ToString());
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Test"))
     {
         XmlStreamer.ToStream(this.Any, xml, "Any", "Zetbox.App.Test");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Test"))
     {
         XmlStreamer.ToStream(this._DisplayName, xml, "DisplayName", "Zetbox.App.Test");
     }
 }
コード例 #16
0
 public virtual void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     xml.WriteAttributeString("ExportGuid", this.Proxy.ExportGuid.ToString());
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream(this.Proxy.Configuration, xml, "Configuration", "Zetbox.App.GUI");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream(this.Proxy.Type != null ? this.Proxy.Type.ExportGuid : (Guid?)null, xml, "Type", "Zetbox.App.GUI");
     }
 }
コード例 #17
0
 public override void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     base.Export(xml, modules);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(CompoundObjectDefinition != null ? CompoundObjectDefinition.ExportGuid : (Guid?)null, xml, "CompoundObjectDefinition", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._HasPersistentOrder, xml, "HasPersistentOrder", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this._IsList, xml, "IsList", "Zetbox.App.Base");
     }
 }
コード例 #18
0
 public override void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     base.Export(xml, modules);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this.Proxy.EagerLoading, xml, "EagerLoading", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI"))
     {
         XmlStreamer.ToStream(this.Proxy.IsInlineEditable, xml, "IsInlineEditable", "Zetbox.App.GUI");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this.Proxy.RelationEnd != null ? this.Proxy.RelationEnd.ExportGuid : (Guid?)null, xml, "RelationEnd", "Zetbox.App.Base");
     }
 }
コード例 #19
0
 public virtual void Export(System.Xml.XmlWriter xml, string[] modules)
 {
     xml.WriteAttributeString("ExportGuid", this.Proxy.ExportGuid.ToString());
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     System.Diagnostics.Debug.Assert(this._isChangedOnSet, "Exported objects need to have all default values evaluated");
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this.Proxy.ChangedOn, xml, "ChangedOn", "Zetbox.App.Base");
     }
     System.Diagnostics.Debug.Assert(this._isCreatedOnSet, "Exported objects need to have all default values evaluated");
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this.Proxy.CreatedOn, xml, "CreatedOn", "Zetbox.App.Base");
     }
     if (modules.Contains("*") || modules.Contains("Zetbox.App.Base"))
     {
         XmlStreamer.ToStream(this.Proxy.Property != null ? this.Proxy.Property.ExportGuid : (Guid?)null, xml, "Property", "Zetbox.App.Base");
     }
 }