コード例 #1
0
        public int CompareTo([CanBeNull] TimeStep other)
        {
            if (ReferenceEquals(this, other))
            {
                return(0);
            }

            if (other is null)
            {
                return(1);
            }

            return(InternalStep.CompareTo(other.InternalStep));
        }
コード例 #2
0
 public override int GetHashCode() => InternalStep.GetHashCode();