/// <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; }
/// <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; }