Class OSBrowserCriterion
Inherited Members
Namespace: EPiServer.VisitorGroupsCriteriaPack
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
[VisitorGroupCriterion(Category = "Technical Criteria", Description = "Match Operating sytem & Browser name with specified value", DisplayName = "OS & Browser", LanguagePath = "/shell/cms/visitorgroups/criteria/osbrowsercriterion")]
public class OSBrowserCriterion : CriterionBase<OSBrowserModel>, ICriterion, IGeneratesAdministrativeInterface
Constructors
OSBrowserCriterion()
Declaration
public OSBrowserCriterion()
Fields
OTHERS_OS
Marked other os that is not in the list.
Declaration
public const string OTHERS_OS = "Others"
Field Value
Type | Description |
---|---|
System.String |
Methods
IsMatch(IPrincipal, HttpContext)
Determines whether the specified principal is match.
Declaration
public override bool IsMatch(IPrincipal principal, HttpContext httpContext)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Principal.IPrincipal | principal | The principal. |
Microsoft.AspNetCore.Http.HttpContext | httpContext | The HTTP context. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
EPiServer.Personalization.VisitorGroups.CriterionBase<EPiServer.VisitorGroupsCriteriaPack.OSBrowserModel>.IsMatch(System.Security.Principal.IPrincipal, Microsoft.AspNetCore.Http.HttpContext)