Exemple #1
0
            protected override CompareResult CompareSameType(ValueEval other)
            {
                NumberEval ne = (NumberEval)other;

                return(CompareResult.ValueOf(_value.CompareTo(ne.NumberValue)));
            }
Exemple #2
0
            protected override CompareResult CompareSameType(ValueEval other)
            {
                StringEval se = (StringEval)other;

                return(CompareResult.ValueOf(String.Compare(_value, se.StringValue, StringComparison.OrdinalIgnoreCase)));
            }