Пример #1
0
            protected override CompareResult CompareSameType(ValueEval other)
            {
                NumberEval ne = (NumberEval)other;

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

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