C# Class Rebel.Cms.Web.Mvc.ActionFilters.ProxyableResultAttribute

When using the ProxyRequestToController methods and you wish to receive the typed 'ActionResult' (TResult) result from the proxy, then this filter must be used.
This filter is added to the Global filters so will always execute.
Inheritance: System.Web.Mvc.ActionFilterAttribute
Mostrar archivo Open project: RebelCMS/rebelcmsxu5

Public Methods

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

Private Methods

Method Description
StoreResult ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionResult result ) : void

Checks if the DataTokens key exists which flags that we should store the result for retreival after execution

Method Details

OnActionExecuted() public method

public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext
return void

OnResultExecuted() public method

public OnResultExecuted ( System.Web.Mvc.ResultExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ResultExecutedContext
return void