[]
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)
Public Sub New(filter As ConditionFilter, condition As 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)
Public Sub New(filter As ConditionFilter)
| 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)
Public Sub New(filter As ConditionFilter, Optional conditionOperator As ConditionOperator = ConditionOperator.None, Optional parameter As Object = Nothing, Optional chainWithAnd As Boolean = 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.