C# Class OxxCommerceStarterKit.Web.Business.PageContextActionFilter

Inheritance: IResultFilter
Afficher le fichier Open project: episerver/Commerce-Demo-Kit

Méthodes publiques

Méthode Description
GetLanguageInfo ( System.PageData page ) : IEnumerable
OnResultExecuted ( System.Web.Mvc.ResultExecutedContext filterContext ) : void
OnResultExecuting ( System.Web.Mvc.ResultExecutingContext filterContext ) : void

Called before an action result executes.

PageContextActionFilter ( IContentLoader contentLoader, UrlResolver urlResolver, ILanguageBranchRepository languageBranchRepository, ISiteSettingsProvider siteConfiguration ) : System

Initializes a new instance of the PageContextActionFilter class.

Méthodes protégées

Méthode Description
PopulateChrome ( OxxCommerceStarterKit.Web.Models.PageTypes.HomePage homePage, SettingsBlock settings ) : Chrome
PopulateOpenGraph ( System.Web.Mvc.ResultExecutingContext filterContext, IPageViewModel model ) : void

Private Methods

Méthode Description
GetFooterMenuContent ( OxxCommerceStarterKit.Web.Models.PageTypes.HomePage settings ) : IEnumerable

Method Details

GetLanguageInfo() public méthode

public GetLanguageInfo ( System.PageData page ) : IEnumerable
page System.PageData
Résultat IEnumerable

OnResultExecuted() public méthode

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

OnResultExecuting() public méthode

Called before an action result executes.
public OnResultExecuting ( System.Web.Mvc.ResultExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ResultExecutingContext The filter context.
Résultat void

PageContextActionFilter() public méthode

Initializes a new instance of the PageContextActionFilter class.
public PageContextActionFilter ( IContentLoader contentLoader, UrlResolver urlResolver, ILanguageBranchRepository languageBranchRepository, ISiteSettingsProvider siteConfiguration ) : System
contentLoader IContentLoader
urlResolver UrlResolver
languageBranchRepository ILanguageBranchRepository
siteConfiguration ISiteSettingsProvider
Résultat System

PopulateChrome() protected méthode

protected PopulateChrome ( OxxCommerceStarterKit.Web.Models.PageTypes.HomePage homePage, SettingsBlock settings ) : Chrome
homePage OxxCommerceStarterKit.Web.Models.PageTypes.HomePage
settings OxxCommerceStarterKit.Web.Models.PageTypes.SettingsBlock
Résultat OxxCommerceStarterKit.Web.Models.ViewModels.Chrome

PopulateOpenGraph() protected méthode

protected PopulateOpenGraph ( System.Web.Mvc.ResultExecutingContext filterContext, IPageViewModel model ) : void
filterContext System.Web.Mvc.ResultExecutingContext
model IPageViewModel
Résultat void