C# Class webapi_outputcache.WebApiOutputCacheAttribute

Inheritance: System.Web.Http.Filters.ActionFilterAttribute
Mostra file Open project: darrelmiller/HypermediaApiSite

Public Methods

Method Description
OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext ac ) : void
WebApiOutputCacheAttribute ( int timespan, int clientTimeSpan, bool anonymousOnly ) : System

Private Methods

Method Description
_isCacheable ( System.Web.Http.Controllers.HttpActionContext ac ) : bool
setClientCache ( ) : CacheControlHeaderValue

Method Details

OnActionExecuted() public method

public OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext
return void

OnActionExecuting() public method

public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext ac ) : void
ac System.Web.Http.Controllers.HttpActionContext
return void

WebApiOutputCacheAttribute() public method

public WebApiOutputCacheAttribute ( int timespan, int clientTimeSpan, bool anonymousOnly ) : System
timespan int
clientTimeSpan int
anonymousOnly bool
return System