public override int CompareTo(EngineSnapshotCustomValueBase customValue)
        {
            if (customValue is EngineSnapshotCustomValue <T> c)
            {
                return(Comparer <T> .Default.Compare(Value, c.Value));
            }

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

            return(0);
        }
 public virtual int CompareTo(EngineSnapshotCustomValueBase customValue)
 {
     return(string.CompareOrdinal(Caption, customValue.Caption));
 }