[]
Represents a condition within a ConditionFilter.
public class Condition
Each ConditionFilter contains several conditions that can be combined with 'And' or 'Or' operators.
Name | Description |
---|---|
Condition(ConditionFilter) | Creates a new instance of Condition with default Parameter, Operator and IsAnd properties values attached to the given ConditionFilter. |
Condition(ConditionFilter, Condition) | Creates a new instance of Condition attached to the given ConditionFilter with Parameter, Operator and IsAnd properties defined by the given Condition. |
Condition(ConditionFilter, ConditionOperator, object, bool) | Creates a new instance of Condition with given Parameter, Operator and IsAnd properties values attached to the given ConditionFilter. |
Name | Description |
---|---|
IsActive | Gets a value that indicates whether the condition is active. |
IsAnd | Gets or sets a value that specifies how the condition is combined with other conditions. |
IsCellBased | Gets a value that indicates whether the condition is one of IsBlank, IsDistinct, IsDuplicate, IsUnique |
Operator | Gets or sets the operator used by this condition. |
Parameter | Gets or sets the parameter used by this condition. |
Name | Description |
---|---|
Apply(object) | Applies the condition to a given value. |
Clear() | Clears this condition by setting the Operator to 'None', the Parameter to null |