C# Class webapi_outputcache.WebApiOutputCacheAttribute

Inheritance: System.Web.Http.Filters.ActionFilterAttribute
Afficher le fichier Open project: darrelmiller/HypermediaApiSite

Méthodes publiques

Méthode 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

Méthode Description
_isCacheable ( System.Web.Http.Controllers.HttpActionContext ac ) : bool
setClientCache ( ) : CacheControlHeaderValue

Method Details

OnActionExecuted() public méthode

public OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext
Résultat void

OnActionExecuting() public méthode

public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext ac ) : void
ac System.Web.Http.Controllers.HttpActionContext
Résultat void

WebApiOutputCacheAttribute() public méthode

public WebApiOutputCacheAttribute ( int timespan, int clientTimeSpan, bool anonymousOnly ) : System
timespan int
clientTimeSpan int
anonymousOnly bool
Résultat System