コード例 #1
0
ファイル: Row.cs プロジェクト: Zebra/iFactr-iOS
 /// <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());
 }
コード例 #2
0
ファイル: Column.cs プロジェクト: Zebra/iFactr-Android
 /// <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());
 }