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 |
---|---|---|
IAggregatedPersonalizationEvaluator | personalizationEvaluator |
Properties
Instance
Gets or set the static instance used to handle ICriterionEvents.
Declaration
public static ICriterionEventsRaiser Instance { get; set; }
Property Value
Type | Description |
---|---|
ICriterionEventsRaiser | The instance. |
Methods
RaiseEndRequest(Object, CriterionEventArgs)
Called to raise EndRequest event.
Declaration
public void RaiseEndRequest(object sender, CriterionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
CriterionEventArgs | e | The CriterionEventArgs instance containing the event data. |
RaisePreRequestHandlerExecute(Object, CriterionEventArgs)
Called to raise event PreRequestHandlerExecute
Declaration
public void RaisePreRequestHandlerExecute(object sender, CriterionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
CriterionEventArgs | e | The CriterionEventArgs instance containing the event data. |
RaiseStartRequest(Object, CriterionEventArgs)
Called to raise StartRequest event.
Declaration
public void RaiseStartRequest(object sender, CriterionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
CriterionEventArgs | e | The CriterionEventArgs instance containing the event data. |
RaiseStartSession(Object, CriterionEventArgs)
Called to raise event StartSession
Declaration
public void RaiseStartSession(object sender, CriterionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
CriterionEventArgs | e | The CriterionEventArgs instance containing the event data. |
RaiseVisitedPage(Object, CriterionEventArgs)
Called to raise event VisitedPage
Declaration
public void RaiseVisitedPage(object sender, CriterionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
CriterionEventArgs | e | The CriterionEventArgs instance containing the event data. |
Events
EndRequest
Occurs when a request is ended.
Declaration
public 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
public event EventHandler<CriterionEventArgs> PreRequestHandlerExecute
Event Type
Type | Description |
---|---|
System.EventHandler<CriterionEventArgs> |
StartRequest
Occurs when a request is started.
Declaration
public event EventHandler<CriterionEventArgs> StartRequest
Event Type
Type | Description |
---|---|
System.EventHandler<CriterionEventArgs> |
StartSession
Occurs when a new session is started.
Declaration
public event EventHandler<CriterionEventArgs> StartSession
Event Type
Type | Description |
---|---|
System.EventHandler<CriterionEventArgs> |
VisitedPage
Occurs when a page is visited.
Declaration
public event EventHandler<CriterionEventArgs> VisitedPage
Event Type
Type | Description |
---|---|
System.EventHandler<CriterionEventArgs> |