2009-06-05 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / HttpHandlerActionCollection.cs
index 56821fd81c994e70baeeed69baa1821a15762d9a..6c874f0f4b2734669b8ee00cfee0faabe6a6e73e 100644 (file)
@@ -51,11 +51,13 @@ namespace System.Web.Configuration
                        
                public void Add (HttpHandlerAction httpHandlerAction)
                {
+                       HttpApplication.ClearHandlerCache ();
                        BaseAdd (httpHandlerAction);
                }
 
                public void Clear ()
                {
+                       HttpApplication.ClearHandlerCache ();
                        BaseClear ();
                }
 
@@ -76,16 +78,19 @@ namespace System.Web.Configuration
 
                public void Remove (string verb, string path)
                {
+                       HttpApplication.ClearHandlerCache ();
                        BaseRemove (path + "-" + verb);
                }
 
                public void Remove (HttpHandlerAction action)
                {
+                       HttpApplication.ClearHandlerCache ();
                        BaseRemove (action.Path + "-" + action.Verb);
                }
 
                public void RemoveAt (int index)
                {
+                       HttpApplication.ClearHandlerCache ();
                        BaseRemoveAt (index);
                }