[mapguide-commits] r6389 - in trunk/Tools/Maestro: ExtendedModels/WebLayout-1.1.0 Generated

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Dec 30 11:05:52 EST 2011


Author: jng
Date: 2011-12-30 08:05:51 -0800 (Fri, 30 Dec 2011)
New Revision: 6389

Modified:
   trunk/Tools/Maestro/ExtendedModels/WebLayout-1.1.0/WebLayout2Impl.cs
   trunk/Tools/Maestro/Generated/WebLayout-1.1.0.designer.cs
Log:
#1908: Fix EnablePingServer not being serialized. I cannot for the life of me remember why we needed an EnabledPingServerSpecified property, because true or false, the element still needs to be specified.

Modified: trunk/Tools/Maestro/ExtendedModels/WebLayout-1.1.0/WebLayout2Impl.cs
===================================================================
--- trunk/Tools/Maestro/ExtendedModels/WebLayout-1.1.0/WebLayout2Impl.cs	2011-12-30 15:53:59 UTC (rev 6388)
+++ trunk/Tools/Maestro/ExtendedModels/WebLayout-1.1.0/WebLayout2Impl.cs	2011-12-30 16:05:51 UTC (rev 6389)
@@ -35,7 +35,6 @@
             set
             {
                 this.EnablePingServer = value;
-                this.EnablePingServerSpecified = true;
             }
         }
     }

Modified: trunk/Tools/Maestro/Generated/WebLayout-1.1.0.designer.cs
===================================================================
--- trunk/Tools/Maestro/Generated/WebLayout-1.1.0.designer.cs	2011-12-30 15:53:59 UTC (rev 6388)
+++ trunk/Tools/Maestro/Generated/WebLayout-1.1.0.designer.cs	2011-12-30 16:05:51 UTC (rev 6389)
@@ -32,9 +32,6 @@
         private bool enablePingServerField;
         
         [EditorBrowsable(EditorBrowsableState.Never)]
-        private bool enablePingServerFieldSpecified;
-        
-        [EditorBrowsable(EditorBrowsableState.Never)]
         private ToolBarType toolBarField;
         
         [EditorBrowsable(EditorBrowsableState.Never)]
@@ -105,19 +102,6 @@
             }
         }
         
-        [System.Xml.Serialization.XmlIgnoreAttribute()]
-        public bool EnablePingServerSpecified {
-            get {
-                return this.enablePingServerFieldSpecified;
-            }
-            set {
-                if ((enablePingServerFieldSpecified.Equals(value) != true)) {
-                    this.enablePingServerFieldSpecified = value;
-                    this.OnPropertyChanged("EnablePingServerSpecified");
-                }
-            }
-        }
-        
         public ToolBarType ToolBar {
             get {
                 return this.toolBarField;



More information about the mapguide-commits mailing list