Castle.MonoRail.Framework.CacheAttribute.CacheAttribute C# (CSharp) Method

CacheAttribute() public method

Initializes a new instance of the CacheAttribute class.
public CacheAttribute ( HttpCacheability cacheability ) : System
cacheability HttpCacheability Sets the Cache-Control HTTP header. /// The Cache-Control HTTP header controls how documents are to be cached on the network.
return System
		public CacheAttribute(HttpCacheability cacheability)
		{
			this.cacheability = cacheability;

			allowInHistory = true;
			validUntilExpires = true;
		}