public override int CompareTo(EngineSnapshotCustomValueBase customValue)
        {
            if (customValue is EngineSnapshotCustomValueInteger c)
            {
                return(Value.CompareTo(c.Value));
            }

            return(0);
        }
Exemplo n.º 2
0
        public override int CompareTo(EngineSnapshotCustomValueBase customValue)
        {
            if (customValue is EngineSnapshotCustomValueString c)
            {
                return(string.CompareOrdinal(Value, c.Value));
            }

            return(0);
        }