A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class CriterionEventArgsExtensions

Extension methods for CriterionEventArgs

Inheritance
System.Object
CriterionEventArgsExtensions
Namespace: EPiServer.Personalization.VisitorGroups
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
public static class CriterionEventArgsExtensions : Object

Methods

Gets the page link corresponding to the ICriterionEvent.PageVisited event.

Declaration
public static PageReference GetPageLink(this CriterionEventArgs args)
Parameters
Type Name Description
CriterionEventArgs args

The CriterionEventArgs instance containing the event data.

Returns
Type Description
PageReference