See Also
sgOperator Constants
Condition operator.
Name Value Description
sgOpFalse 0 Always fail.
sgOpTrue 1 Always succeed.
sgOpLessThan 2 Succeeds if the left-side value is smaller then the right-side value.
sgOpLessThanOrEqual 3 Succeeds if the left-side value is smaller than or equal to the right-side value.
sgOpGreaterThan 4 Succeeds if the left-side value is greater then the right-side value.
sgOpGreaterThanOrEqual 5 Succeeds if the left-side value is greater then or equal to the right-side value.
sgOpEqual 6 Succeeds if the left-side value is equal to the right-side value.
sgOpBetween 7 Succeeds if the left-side value is both greater then the first right-side value and smaller or equal to the second right-side value.
sgOpContains 8 Succeeds if left-side value is contained in the right-side value. Applies only to string and integral (byte, short, long, int64) types.
sgOpRegEx 9 Succeeds if regular expression is matched. Applies only to string values.
sgOpCallback 10 Uses the custom IsgConditionTest interface to test an LhsValue value. RhsValue1 should be an object that implements IsgConditionTest interface. RhsValue2 is a Tag value passed as the Test method's Tag parameter.
sgOpNot 16384 Negate operator. Can be used only in a combination with some other operator.