C# 클래스 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.
상속: IResultFilter
파일 보기 프로젝트 열기: episerver/EPiTranslateFlowDemo

공개 메소드들

메소드 설명
OnResultExecuted ( System.Web.Mvc.ResultExecutedContext filterContext ) : void
OnResultExecuting ( System.Web.Mvc.ResultExecutingContext filterContext ) : void
PageContextActionFilter ( PageViewContextFactory contextFactory ) : System.Web.Mvc

메소드 상세

OnResultExecuted() 공개 메소드

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

OnResultExecuting() 공개 메소드

public OnResultExecuting ( System.Web.Mvc.ResultExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ResultExecutingContext
리턴 void

PageContextActionFilter() 공개 메소드

public PageContextActionFilter ( PageViewContextFactory contextFactory ) : System.Web.Mvc
contextFactory PageViewContextFactory
리턴 System.Web.Mvc