C# Class Sage.Controllers.CacheableAttribute

Inheritance: System.Web.Mvc.ActionFilterAttribute
显示文件 Open project: igorfrance/sage

Public Methods

Method Description
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void

Called by the MVC framework after the action method is executed.

OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Called by the MVC framework before the action method executes.

Private Methods

Method Description
GetLastModified ( System.Web.Mvc.ActionExecutedContext filterContext ) : DateTime?
GetLastModified ( System.Web.Mvc.ActionExecutingContext filterContext ) : DateTime?

Method Details

OnActionExecuted() public method

Called by the MVC framework after the action method is executed.
public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext The filter context.
return void

OnActionExecuting() public method

Called by the MVC framework before the action method executes.
public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext The filter context.
return void