Class ViewedCategoriesCriterion
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. A criterion that matches after visiting a page with a category.
Inheritance
System.Object
ViewedCategoriesCriterion
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class ViewedCategoriesCriterion : CriterionBase<ViewedCategoriesModel>
Constructors
ViewedCategoriesCriterion()
Declaration
public ViewedCategoriesCriterion()
Methods
IsMatch(IPrincipal, HttpContextBase)
Matches after the user has visited a page with one of the selected categories.
Declaration
public override bool IsMatch(IPrincipal principal, HttpContextBase httpContext)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Principal.IPrincipal | principal | |
System.Web.HttpContextBase | httpContext |
Returns
Type | Description |
---|---|
System.Boolean |
Subscribe(ICriterionEvents)
Subscribes to the VisitedPage event.
Declaration
public override void Subscribe(ICriterionEvents criterionEvents)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Personalization.VisitorGroups.ICriterionEvents | criterionEvents |
Unsubscribe(ICriterionEvents)
Unsubscribes from to the VisitedPage event.
Declaration
public override void Unsubscribe(ICriterionEvents criterionEvents)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Personalization.VisitorGroups.ICriterionEvents | criterionEvents |