Class CriterionEvents
Inheritance
Namespace: EPiServer.Personalization.VisitorGroups.Internal
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3Syntax
public class CriterionEvents : Object, ICriterionEventsRaiser, ICriterionEvents
Constructors
CriterionEvents(IAggregatedPersonalizationEvaluator)
Declaration
public CriterionEvents(IAggregatedPersonalizationEvaluator personalizationEvaluator)
Parameters
Type | Name | Description |
---|---|---|
IAggregated |
personalizationEvaluator |
Properties
Instance
Gets or set the static instance used to handle ICriterionEvents.
Declaration
public static ICriterionEventsRaiser Instance { get; set; }
Property Value
Type | Description |
---|---|
ICriterion |
The instance. |
Methods
RaiseEndRequest(Object, CriterionEventArgs)
Called to raise EndRequest event.
Declaration
public void RaiseEndRequest(object sender, CriterionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System. |
sender | The sender. |
Criterion |
e | The Criterion |
RaisePreRequestHandlerExecute(Object, CriterionEventArgs)
Called to raise event PreRequestHandlerExecute
Declaration
public void RaisePreRequestHandlerExecute(object sender, CriterionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System. |
sender | The sender. |
Criterion |
e | The Criterion |
RaiseStartRequest(Object, CriterionEventArgs)
Called to raise StartRequest event.
Declaration
public void RaiseStartRequest(object sender, CriterionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System. |
sender | The sender. |
Criterion |
e | The Criterion |
RaiseStartSession(Object, CriterionEventArgs)
Called to raise event StartSession
Declaration
public void RaiseStartSession(object sender, CriterionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System. |
sender | The sender. |
Criterion |
e | The Criterion |
RaiseVisitedPage(Object, CriterionEventArgs)
Called to raise event VisitedPage
Declaration
public void RaiseVisitedPage(object sender, CriterionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System. |
sender | The sender. |
Criterion |
e | The Criterion |
Events
EndRequest
Occurs when a request is ended.
Declaration
public event EventHandler<CriterionEventArgs> EndRequest
Event Type
Type | Description |
---|---|
System. |
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
public event EventHandler<CriterionEventArgs> PreRequestHandlerExecute
Event Type
Type | Description |
---|---|
System. |
StartRequest
Occurs when a request is started.
Declaration
public event EventHandler<CriterionEventArgs> StartRequest
Event Type
Type | Description |
---|---|
System. |
StartSession
Occurs when a new session is started.
Declaration
public event EventHandler<CriterionEventArgs> StartSession
Event Type
Type | Description |
---|---|
System. |
VisitedPage
Occurs when a page is visited.
Declaration
public event EventHandler<CriterionEventArgs> VisitedPage
Event Type
Type | Description |
---|---|
System. |