[]
Creates a new instance of Condition attached to the given ConditionFilter with Parameter, Operator and IsAnd properties defined by the given Condition.
public Condition(ConditionFilter filter, Condition condition)
Type | Name | Description |
---|---|---|
ConditionFilter | filter | The ConditionFilter this Condition belongs to. |
Condition | condition | The Condition from which the property values are copied. |
Creates a new instance of Condition with default Parameter, Operator and IsAnd properties values attached to the given ConditionFilter.
public Condition(ConditionFilter filter)
Type | Name | Description |
---|---|---|
ConditionFilter | filter | The ConditionFilter this Condition belongs to. |
Creates a new instance of Condition with given Parameter, Operator and IsAnd properties values attached to the given ConditionFilter.
public Condition(ConditionFilter filter, ConditionOperator conditionOperator = ConditionOperator.None, object parameter = null, bool chainWithAnd = true)
Type | Name | Description |
---|---|---|
ConditionFilter | filter | The ConditionFilter this Condition belongs to. |
ConditionOperator | conditionOperator | A ConditionOperator to set up the Operator value. |
object | parameter | |
bool | chainWithAnd |
A value set for Parameter will be ignored while applying the condition if ConditionOperator will be set to None or determine IsCellBased condition.
A value set for IsAnd is ignored for the first condition in the conditions chain.