Class IPRangeCriterion
Inheritance
System.Object
IPRangeCriterion
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[VisitorGroupCriterion(Category = "Technical Criteria", DisplayName = "IP Range", Description = "Criterion that matches certain IPv4 ranges", LanguagePath = "/shell/cms/visitorgroups/criteria/iprangecriterion")]
public class IPRangeCriterion : CriterionBase<IPRangeModel>, ICriterion, IGeneratesAdministrativeInterface
Constructors
IPRangeCriterion()
Declaration
public IPRangeCriterion()
IPRangeCriterion(IPAddressResolver)
Declaration
public IPRangeCriterion(IPAddressResolver addressResolver)
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.IPRangeModel>.IsMatch(System.Security.Principal.IPrincipal, Microsoft.AspNetCore.Http.HttpContext)
Implements
Extension Methods