X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI%2FOutputCacheParameters.cs;h=c9174f5b1acbb8d702f892af8cda6a0c157abd47;hb=272033f2e2852eb44827769b2a993390d453cc56;hp=ed1fbdf2e2d98c2a8b35439e82a333d3d01054b7;hpb=7015b812166d0992223b5dc4421deab637500265;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI/OutputCacheParameters.cs b/mcs/class/System.Web/System.Web.UI/OutputCacheParameters.cs index ed1fbdf2e2d..c9174f5b1ac 100644 --- a/mcs/class/System.Web/System.Web.UI/OutputCacheParameters.cs +++ b/mcs/class/System.Web/System.Web.UI/OutputCacheParameters.cs @@ -23,8 +23,6 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 - using System.ComponentModel; using System.Security.Permissions; @@ -44,7 +42,8 @@ namespace System.Web.UI string _varByCustom; string _varByHeader; string _varByParam; - + string _varyByContentEncoding; + #endregion #region Constructors @@ -90,6 +89,11 @@ namespace System.Web.UI set { _sqlDependency = value; } } + public string VaryByContentEncoding { + get { return _varyByContentEncoding; } + set { _varyByContentEncoding = value; } + } + public string VaryByControl { get { return _varByControl; } set { _varByControl = value; } @@ -117,5 +121,3 @@ namespace System.Web.UI #endregion } } - -#endif