Class TimeOnSiteCriterion
Inheritance
System.Object
TimeOnSiteCriterion
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[VisitorGroupCriterion(Category = "Time and Place Criteria", Description = "Matches the total length of a user's visit", DisplayName = "Time on Site", LanguagePath = "/shell/cms/visitorgroups/criteria/timeonsitecriterion")]
public class TimeOnSiteCriterion : CriterionBase<TimeOnSiteModel>, ICriterion, IGeneratesAdministrativeInterface
Constructors
TimeOnSiteCriterion(IStateStorage)
Declaration
public TimeOnSiteCriterion(IStateStorage stateStorage)
Parameters
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.TimeOnSiteModel>.IsMatch(System.Security.Principal.IPrincipal, Microsoft.AspNetCore.Http.HttpContext)
Subscribe(ICriterionEvents)
Declaration
public override void Subscribe(ICriterionEvents criterionEvents)
Parameters
Overrides
EPiServer.Personalization.VisitorGroups.CriterionBase<EPiServer.VisitorGroupsCriteriaPack.TimeOnSiteModel>.Subscribe(EPiServer.Personalization.VisitorGroups.ICriterionEvents)
Unsubscribe(ICriterionEvents)
Declaration
public override void Unsubscribe(ICriterionEvents criterionEvents)
Parameters
Overrides
EPiServer.Personalization.VisitorGroups.CriterionBase<EPiServer.VisitorGroupsCriteriaPack.TimeOnSiteModel>.Unsubscribe(EPiServer.Personalization.VisitorGroups.ICriterionEvents)
Implements
Extension Methods