Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public virtual int CompareTo(SimpleMetadata <T> other) => Comparer.Compare(this.Value, other.Value);