November Happy Hour will be moved to Thursday December 5th.

Interface ICriterionEvents

Specifies events a criteria can subscribe to

Namespace: EPiServer.Personalization.VisitorGroups
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
public interface ICriterionEvents

Events

EndRequest

Occurs when a request is ended.

Declaration
event EventHandler<CriterionEventArgs> EndRequest
Event Type
Type Description
System.EventHandler<CriterionEventArgs>

PreRequestHandlerExecute

Occurs just before ASP.NET starts executing an event handler (for example a page or an XML Web service). When this event is fired Session is available (if the handler for the request supports session).

Declaration
event EventHandler<CriterionEventArgs> PreRequestHandlerExecute
Event Type
Type Description
System.EventHandler<CriterionEventArgs>

StartRequest

Occurs when a request is started.

Declaration
event EventHandler<CriterionEventArgs> StartRequest
Event Type
Type Description
System.EventHandler<CriterionEventArgs>

StartSession

Occurs when a new session is started.

Declaration
event EventHandler<CriterionEventArgs> StartSession
Event Type
Type Description
System.EventHandler<CriterionEventArgs>

VisitedPage

Occurs when a page is visited.

Declaration
event EventHandler<CriterionEventArgs> VisitedPage
Event Type
Type Description
System.EventHandler<CriterionEventArgs>

Extension Methods