Go to the documentation of this file.00001 using System;
00002 using System.Collections.Generic;
00003 using System.Text;
00004 using System.Configuration;
00005
00006 namespace N2.Configuration
00007 {
00008 public class OutputCacheElement : ConfigurationElement
00009 {
00010 [ConfigurationProperty("enabled", DefaultValue = false)]
00011 public bool Enabled
00012 {
00013 get { return (bool)base["enabled"]; }
00014 set { base["enabled"] = value; }
00015 }
00016
00017 [ConfigurationProperty("duration", DefaultValue = 0)]
00018 public int Duration
00019 {
00020 get { return (int)base["duration"]; }
00021 set { base["duration"] = value; }
00022 }
00023
00024 [ConfigurationProperty("varyByParam", DefaultValue = "*")]
00025 public string VaryByParam
00026 {
00027 get { return (string)base["varyByParam"]; }
00028 set { base["varyByParam"] = value; }
00029 }
00030
00031 [ConfigurationProperty("cacheProfile")]
00032 public string CacheProfile
00033 {
00034 get { return (string)base["cacheProfile"]; }
00035 set { base["cacheProfile"] = value; }
00036 }
00037 }
00038 }