Class ViewedPageCriterionAttribute

When added to an MVC controller this action filter will raise EPiServer.Personalization.VisitorGroups.ICriterionEvents.VisitedPage event.

Inheritance
System.Object
ViewedPageCriterionAttribute
Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class ViewedPageCriterionAttribute : ActionFilterAttribute
Remarks

This attribute is required for visitor groups based on page views, like ViewedPagesCriterion or ViewedCategoriesCriterion

Constructors

ViewedPageCriterionAttribute()

Declaration
public ViewedPageCriterionAttribute()

Methods

OnActionExecuted(ActionExecutedContext)

Declaration
public override void OnActionExecuted(ActionExecutedContext filterContext)
Parameters
Type Name Description
System.Web.Mvc.ActionExecutedContext filterContext

Extension Methods