2005-11-24 Chris Toshok <toshok@ximian.com>
authorChris Toshok <toshok@novell.com>
Thu, 24 Nov 2005 23:51:32 +0000 (23:51 -0000)
committerChris Toshok <toshok@novell.com>
Thu, 24 Nov 2005 23:51:32 +0000 (23:51 -0000)
* ConfigurationProperty.cs (Validate): add internal method.

svn path=/trunk/mcs/; revision=53467

mcs/class/System.Configuration/System.Configuration/ChangeLog
mcs/class/System.Configuration/System.Configuration/ConfigurationProperty.cs

index 025992a68cd6f1f1825dd6085b3edf3e9605997c..7f190038c69ca85bda29134da664078773679a68 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-24  Chris Toshok  <toshok@ximian.com>
+
+       * ConfigurationProperty.cs (Validate): add internal method.
+
 2005-11-24  Chris Toshok  <toshok@ximian.com>
 
        * ConfigurationElement.cs (ElementProperty): make this protected
index 8e74ab907c6f9ff3a6dceb7e8196cebf1b9acf05..42d3d2385d2c6f2499c24c3d375317f9aefc82d0 100644 (file)
@@ -146,6 +146,12 @@ namespace System.Configuration
                        get { return collectionAttribute; }
                        set { collectionAttribute = value; }
                }
+
+               internal void Validate (object value)
+               {
+                       if (validation != null)
+                               validation.Validate (value);
+               }
        }
 }
 #endif