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

Class CriterionEventArgs

Argument passed to event handlers for critera notifications.

Inheritance
System.Object
CriterionEventArgs
Namespace: EPiServer.Personalization.VisitorGroups
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
public class CriterionEventArgs : EventArgs

Constructors

CriterionEventArgs(HttpContext)

Initializes a new instance of the CriterionEventArgs class.

Declaration
public CriterionEventArgs(HttpContext httpContext)
Parameters
Type Name Description
Microsoft.AspNetCore.Http.HttpContext httpContext

The HTTP context.

Properties

HttpContext

Gets or sets the HTTP context for which the event was raised.

Declaration
public HttpContext HttpContext { get; }
Property Value
Type Description
Microsoft.AspNetCore.Http.HttpContext

The HTTP context.

Remarks

In some cases HttpContext might be null, for example when executing inside a scheduled job.

Extension Methods