Class TimePeriodCriterion
Inheritance
System.Object
TimePeriodCriterion
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[VisitorGroupCriterion(DisplayName = "Time Period", Category = "Time and Place Criteria", ScriptShellModuleName = "EPIServer.CMS.UI.VisitorGroups", ScriptUrl = "CriteriaEditors/dist/TimePeriod.js", LanguagePath = "/shell/cms/visitorgroups/criteria/timeperiodcriterion")]
public class TimePeriodCriterion : CriterionBase<TimePeriodModel>, ICriterion, IGeneratesAdministrativeInterface
Constructors
TimePeriodCriterion()
Declaration
public TimePeriodCriterion()
Properties
RangeEnd
Declaration
protected DateTime RangeEnd { get; }
Property Value
Type |
Description |
System.DateTime |
|
RangeStart
Declaration
protected DateTime RangeStart { get; }
Property Value
Type |
Description |
System.DateTime |
|
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.TimePeriodModel>.IsMatch(System.Security.Principal.IPrincipal, Microsoft.AspNetCore.Http.HttpContext)
Implements
Extension Methods