Class IPRangeModel
Inheritance
System.Object
IPRangeModel
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
public class IPRangeModel : CriterionModelBase, ICriterionModel, IDynamicData
Constructors
IPRangeModel()
Declaration
Properties
Condition
Declaration
[CriterionPropertyEditor(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/iprangecriterion/condition", Order = 1, SelectionFactoryType = null)]
public IPCompareCondition Condition { get; set; }
Property Value
IP
Declaration
[CriterionPropertyEditor(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/iprangecriterion/ip", Order = 2, AdditionalPropsJson = "{ \"pattern\":\"(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\"}")]
public string IP { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Copy()
Declaration
public override ICriterionModel Copy()
Returns
Overrides
Implements
Extension Methods