Class QueryStringCriterion
Inheritance
System.Object
QueryStringCriterion
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[VisitorGroupCriterion(Category = "URL Criteria", Description = "Matches the request to see if it contains a querystring key with the specified value", DisplayName = "QueryString", LanguagePath = "/shell/cms/visitorgroups/criteria/querystringcriterion", ScriptShellModuleName = "EPIServer.CMS.UI.VisitorGroups", ScriptUrl = "CriteriaEditors/dist/QueryString.js")]
public class QueryStringCriterion : CriterionBase<QueryStringModel>, ICriterion, IGeneratesAdministrativeInterface
Constructors
QueryStringCriterion()
Declaration
public QueryStringCriterion()
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.QueryStringModel>.IsMatch(System.Security.Principal.IPrincipal, Microsoft.AspNetCore.Http.HttpContext)
Implements
Extension Methods