/// <summary> /// Compares current instance of <see cref="TextSpan"/> with another. /// </summary> public int CompareTo(TimelineItem <T> other) { var diff = this.Time - other.Time; return((int)(diff)); }
/// <summary> /// Determines if current instance of <see cref="TextSpan"/> is equal to another. /// </summary> public bool Equals(TimelineItem <T> other) { return(Time == other.Time); }