Esempio n. 1
0
            protected override CompareResult CompareSameType(ValueEval other)
            {
                NumberEval ne = (NumberEval)other;

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

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