C# Class Castle.MonoRail.Framework.CacheAttribute

Inheritance: System.Attribute, ICachePolicyConfigurer
Mostra file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
CacheAttribute ( HttpCacheability cacheability ) : System

Initializes a new instance of the CacheAttribute class.

Private Methods

Method Description
ICachePolicyConfigurer ( System.Web.HttpCachePolicy policy ) : void

Configures ASP.Net's Cache policy based on properties set

Method Details

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