Пример #1
0
 public bool Equals(SimpleMetadata <T> other)
 {
     if (object.ReferenceEquals(other, null))
     {
         return(false);
     }
     if (this.GetType() != other.GetType())
     {
         return(false);
     }
     return(this.CompareTo(other) == CompareIsEqual);
 }
Пример #2
0
 public virtual int CompareTo(SimpleMetadata <T> other) => Comparer.Compare(this.Value, other.Value);