Class CacheControlAttribute

Inheritance
System.Object
CacheControlAttribute
Namespace: EPiServer.Shell.Web.Mvc
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
public sealed class CacheControlAttribute : ActionFilterAttribute

Constructors

CacheControlAttribute(HttpCacheability)

Declaration
public CacheControlAttribute(HttpCacheability cacheability)
Parameters
Type Name Description
System.Web.HttpCacheability cacheability

Properties

Cacheability

Declaration
public HttpCacheability Cacheability { get; }
Property Value
Type Description
System.Web.HttpCacheability

Methods

OnActionExecuted(ActionExecutedContext)

Declaration
public override void OnActionExecuted(ActionExecutedContext filterContext)
Parameters
Type Name Description
System.Web.Mvc.ActionExecutedContext filterContext

Extension Methods