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

Class EventCriterion

Inheritance
System.Object
EventCriterion
Namespace: EPiServer.VisitorGroupsCriteriaPack
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[VisitorGroupCriterion(Category = "Time and Place Criteria", Description = "Match specific period time", DisplayName = "Event", LanguagePath = "/shell/cms/visitorgroups/criteria/eventcriterion", ScriptShellModuleName = "EPIServer.CMS.UI.VisitorGroups", ScriptUrl = "CriteriaEditors/dist/Event.js")]
public class EventCriterion : CriterionBase<EventModel>, ICriterion, IGeneratesAdministrativeInterface

Constructors

EventCriterion()

Initializes a new instance

Declaration
public EventCriterion()

Fields

_currentTimeProvider

Declaration
public ICurrentTimeProvider _currentTimeProvider
Field Value
Type Description
ICurrentTimeProvider

Methods

IsMatch(IPrincipal, HttpContext)

Declaration
public override bool IsMatch(IPrincipal principal, HttpContext httpContext)
Parameters
Type Name Description
System.Security.Principal.IPrincipal principal
Microsoft.AspNetCore.Http.HttpContext httpContext
Returns
Type Description
System.Boolean
Overrides
EPiServer.Personalization.VisitorGroups.CriterionBase<EPiServer.VisitorGroupsCriteriaPack.EventModel>.IsMatch(System.Security.Principal.IPrincipal, Microsoft.AspNetCore.Http.HttpContext)

Implements

Extension Methods