Class Rule
- Namespace
- Dynamicweb.Content.Items.Queries.Rules
- Assembly
- Dynamicweb.dll
Rule for smart filter
- Inheritance
-
Rule
- Inherited Members
Constructors
Rule()
Initializes a new instance of an object.
Rule(RuleField, RuleOperator, string)
Initializes a new instance of an object.
Parameters
field
RuleField ruleOperator
RuleOperator value
string
Rule(RuleField, RuleOperator, string, string?)
Initializes a new instance of an object.
Parameters
field
RuleField ruleOperator
RuleOperator valueFrom
stringvalueTo
string
Properties
Field
Gets the constraint that corresponds to this rule.
Property Value
IsEmpty
Check is empty object
Property Value
IsRangeValue
Check is range value
Property Value
Operator
Gets the constraint that corresponds to this rule.
Property Value
Value
Gets or sets the value
Property Value
ValueFrom
Gets or sets the from range value
Property Value
ValueTo
Gets or sets the to range value