[mapguide-commits] r10191 - branches/4.0/MgDev/Bindings/src/SwigCommon/DotNet

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Sep 12 03:11:47 PDT 2025


Author: jng
Date: 2025-09-12 03:11:46 -0700 (Fri, 12 Sep 2025)
New Revision: 10191

Modified:
   branches/4.0/MgDev/Bindings/src/SwigCommon/DotNet/custom.i
   branches/4.0/MgDev/Bindings/src/SwigCommon/DotNet/sugar.i
Log:
Auto-inherit interface implementation member docs

Modified: branches/4.0/MgDev/Bindings/src/SwigCommon/DotNet/custom.i
===================================================================
--- branches/4.0/MgDev/Bindings/src/SwigCommon/DotNet/custom.i	2025-09-11 11:19:39 UTC (rev 10190)
+++ branches/4.0/MgDev/Bindings/src/SwigCommon/DotNet/custom.i	2025-09-12 10:11:46 UTC (rev 10191)
@@ -18,6 +18,7 @@
 %typemap(csinterfaces_derived) MgBatchPropertyCollection "System.Collections.Generic.IList<MgPropertyCollection>"
 
 %typemap(cscode) MgBatchPropertyCollection %{
+    /// <inheritdoc />
     int IList<MgPropertyCollection>.IndexOf(MgPropertyCollection item)
     {
         return -1;
@@ -35,6 +36,7 @@
     }
     */
     
+    /// <inheritdoc />
     public MgPropertyCollection this[int index]
     {
         get { return this.GetItem(index); }
@@ -53,16 +55,19 @@
     }
     */
     
+    /// <inheritdoc />
     bool ICollection<MgPropertyCollection>.Contains(MgPropertyCollection item)
     {
         return false;
     }
     
+    /// <inheritdoc />
     public void CopyTo(MgPropertyCollection[] array, int arrayIndex)
     {
         throw new global::System.NotImplementedException();
     }
     
+    /// <inheritdoc />
     bool ICollection<MgPropertyCollection>.Remove(MgPropertyCollection item)
     {
         int count = this.GetCount();
@@ -70,11 +75,13 @@
         return this.GetCount() < count;
     }
     
+    /// <inheritdoc />
     public int Count
     {
         get { return this.GetCount(); }
     }
     
+    /// <inheritdoc />
     public bool IsReadOnly
     {
         get { return false; }
@@ -93,6 +100,7 @@
             _position = -1;
         }
         
+        /// <inheritdoc />
         bool IEnumerator.MoveNext()
         {
             _position++;
@@ -99,29 +107,35 @@
             return _position < _count;
         }
         
+        /// <inheritdoc />
         void IEnumerator.Reset()
         {
             _position = -1;
         }
         
+        /// <inheritdoc />
         object IEnumerator.Current
         {
             get { return _list[_position]; }
         }
         
+        /// <inheritdoc />
         MgPropertyCollection IEnumerator<MgPropertyCollection>.Current
         {
             get { return _list[_position]; }
         }
         
+        /// <inheritdoc />
         public void Dispose() { }
     }
     
+    /// <inheritdoc />
     public IEnumerator<MgPropertyCollection> GetEnumerator()
     {
         return new CollectionEnumerator(this);
     }
     
+    /// <inheritdoc />
     IEnumerator IEnumerable.GetEnumerator()
     {
         return new CollectionEnumerator(this);

Modified: branches/4.0/MgDev/Bindings/src/SwigCommon/DotNet/sugar.i
===================================================================
--- branches/4.0/MgDev/Bindings/src/SwigCommon/DotNet/sugar.i	2025-09-11 11:19:39 UTC (rev 10190)
+++ branches/4.0/MgDev/Bindings/src/SwigCommon/DotNet/sugar.i	2025-09-12 10:11:46 UTC (rev 10191)
@@ -34,6 +34,8 @@
         this.RemoveAt(index);
     }
     */
+
+    /// <inheritdoc />
     public item_type this[int index]
     {
         get { return this.GetItem(index); }
@@ -55,11 +57,14 @@
         return this.Contains(item);
     }
     */
+
+    /// <inheritdoc />
     public void CopyTo(item_type[] array, int arrayIndex)
     {
         throw new global::System.NotImplementedException();
     }
     
+    /// <inheritdoc />
     bool ICollection<item_type>.Remove(item_type item)
     {
         int count = this.GetCount();
@@ -67,11 +72,13 @@
         return this.GetCount() < count;
     }
     
+    /// <inheritdoc />
     public int Count
     {
         get { return this.GetCount(); }
     }
     
+    /// <inheritdoc />
     public bool IsReadOnly
     {
         get { return false; }
@@ -90,6 +97,7 @@
             _position = -1;
         }
         
+        /// <inheritdoc />
         bool IEnumerator.MoveNext()
         {
             _position++;
@@ -96,29 +104,35 @@
             return _position < _count;
         }
         
+        /// <inheritdoc />
         void IEnumerator.Reset()
         {
             _position = -1;
         }
         
+        /// <inheritdoc />
         object IEnumerator.Current
         {
             get { return _list[_position]; }
         }
         
+        /// <inheritdoc />
         item_type IEnumerator<item_type>.Current
         {
             get { return _list[_position]; }
         }
         
+        /// <inheritdoc />
         public void Dispose() { }
     }
     
+    /// <inheritdoc />
     public IEnumerator<item_type> GetEnumerator()
     {
         return new CollectionEnumerator(this);
     }
     
+    /// <inheritdoc />
     IEnumerator IEnumerable.GetEnumerator()
     {
         return new CollectionEnumerator(this);
@@ -137,11 +151,13 @@
 %typemap(csinterfaces_derived) collection_type "IReadOnlyList<item_type>"
 //This is the IReadOnlyList<T> implementation that is injected into the implementing proxy class
 %typemap(cscode) collection_type %{
+    /// <inheritdoc />
     item_type IReadOnlyList<item_type>.this[int index]
     {
         get { return this.GetItem(index); }
     }
     
+    /// <inheritdoc />
     public int Count
     {
         get { return this.GetCount(); }
@@ -160,6 +176,7 @@
             _position = -1;
         }
         
+        /// <inheritdoc />
         bool IEnumerator.MoveNext()
         {
             _position++;
@@ -166,29 +183,35 @@
             return _position < _count;
         }
         
+        /// <inheritdoc />
         void IEnumerator.Reset()
         {
             _position = -1;
         }
         
+        /// <inheritdoc />
         object IEnumerator.Current
         {
             get { return _list[_position]; }
         }
         
+        /// <inheritdoc />
         item_type IEnumerator<item_type>.Current
         {
             get { return _list[_position]; }
         }
         
+        /// <inheritdoc />
         public void Dispose() { }
     }
     
+    /// <inheritdoc />
     IEnumerator<item_type> IEnumerable<item_type>.GetEnumerator()
     {
         return new CollectionEnumerator(this);
     }
     
+    /// <inheritdoc />
     IEnumerator IEnumerable.GetEnumerator()
     {
         return new CollectionEnumerator(this);



More information about the mapguide-commits mailing list