importing messaging-2008 branch to trunk [continued]
[mono.git] / mcs / class / System.Web / System.Web.UI / StaticPartialCachingControl.cs
index eaeea7106dad3b6352998895899430a888db8163..031049d1b9b49b3bf1da28c138f9c9b4bacda79f 100644 (file)
@@ -37,7 +37,7 @@ namespace System.Web.UI {
        [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
        public class StaticPartialCachingControl : BasePartialCachingControl {
 
-               private BuildMethod buildMethod;
+               BuildMethod buildMethod;
 
                public StaticPartialCachingControl (string ctrlID, string guid, int duration,
                                string varyByParams, string varyByControls, string varyByCustom,
@@ -53,6 +53,18 @@ namespace System.Web.UI {
                        this.buildMethod = buildMethod;
                }
 
+#if NET_2_0
+               [MonoTODO("Consider sqlDependency parameter")]
+               public static void BuildCachedControl (Control parent, string ctrlID, string guid,
+                               int duration, string varyByParams, string varyByControls,
+                               string varyByCustom, string sqlDependency, BuildMethod buildMethod)
+               {
+                       BuildCachedControl (parent, ctrlID, guid,
+                               duration, varyByParams, varyByControls,
+                               varyByCustom, buildMethod);
+               }
+#endif
+
                public static void BuildCachedControl (Control parent, string ctrlID, string guid,
                                int duration, string varyByParams, string varyByControls,
                                string varyByCustom, BuildMethod buildMethod)