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
Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

Méthode Description
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
OnResultExecuted ( System.Web.Mvc.ResultExecutedContext filterContext ) : void

Private Methods

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

public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext
Résultat void

OnResultExecuted() public méthode

public OnResultExecuted ( System.Web.Mvc.ResultExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ResultExecutedContext
Résultat void