コード例 #1
0
ファイル: Lookup.cs プロジェクト: obhita/PROCenter
 /// <summary>
 ///     Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 ///     A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     unchecked
     {
         return(((CodedConcept != null ? CodedConcept.GetHashCode() : 0) * 397) ^ Value.GetHashCode());
     }
 }
コード例 #2
0
ファイル: ItemDefinition.cs プロジェクト: girish66/PROCenter
 /// <summary>
 ///     Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 ///     A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     unchecked
     {
         return(((CodedConcept != null ? CodedConcept.GetHashCode() : 0) * 397) ^ (Version != null ? Version.GetHashCode() : 0));
     }
 }