/// <summary> /// Serves as a hash function for a <see cref="Row"/> object. /// </summary> /// <returns>A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a /// hash table.</returns> public override int GetHashCode() { return(Height.GetHashCode() ^ UnitType.GetHashCode()); }
/// <summary> /// Serves as a hash function for a <see cref="Column"/> object. /// </summary> /// <returns>A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a /// hash table.</returns> public override int GetHashCode() { return(Width.GetHashCode() ^ UnitType.GetHashCode()); }