C# Class Alloy.Business.PageContextActionFilter

Intercepts actions with view models of type IPageViewModel and populates the view models Layout and Section properties.
This filter frees controllers for pages from having to care about common context needed by layouts and other page framework components allowing the controllers to focus on the specifics for the page types and actions that they handle.
Inheritance: IResultFilter
Afficher le fichier Open project: episerver/EPiTranslateFlowDemo

Méthodes publiques

Méthode Description
OnResultExecuted ( System.Web.Mvc.ResultExecutedContext filterContext ) : void
OnResultExecuting ( System.Web.Mvc.ResultExecutingContext filterContext ) : void
PageContextActionFilter ( PageViewContextFactory contextFactory ) : System.Web.Mvc

Method Details

OnResultExecuted() public méthode

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

OnResultExecuting() public méthode

public OnResultExecuting ( System.Web.Mvc.ResultExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ResultExecutingContext
Résultat void

PageContextActionFilter() public méthode

public PageContextActionFilter ( PageViewContextFactory contextFactory ) : System.Web.Mvc
contextFactory PageViewContextFactory
Résultat System.Web.Mvc