Exemplo n.º 1
0
 /// <summary>
 /// Overridden by subclasses to build an equality test chain.
 /// </summary>
 protected virtual bool EqualsTo(Cell other)
 {
     if (GetType() != other.GetType())
     {
         return false;
     }
     return true;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Determines whether this Cell object is equal to the specified one.
 /// </summary>
 public virtual bool EqualsTo(Cell other)
 {
     if (GetType() != other.GetType())
     {
         return false;
     }
     if (!fingerprint.Equals(other.fingerprint))
     {
         return false;
     }
     return true;
 }