コード例 #1
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked {
         return
             (((IndexName != null ? IndexName.GetHashCode() : 0) * 397) ^
              (TypeName != null ? TypeName.GetHashCode() : 0));
     }
 }
コード例 #2
0
 public override int GetHashCode()
 {
     var result = IsNamedWindow ? 1 : 0;
     result = 31 * result + (InfraName != null ? InfraName.GetHashCode() : 0);
     result = 31 * result + (InfraModuleName != null ? InfraModuleName.GetHashCode() : 0);
     result = 31 * result + (IndexName != null ? IndexName.GetHashCode() : 0);
     result = 31 * result + (IndexModuleName != null ? IndexModuleName.GetHashCode() : 0);
     return result;
 }
コード例 #3
0
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = (IndexName != null ? IndexName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (TableName != null ? TableName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (IndexModuleName != null ? IndexModuleName.GetHashCode() : 0);
         return hashCode;
     }
 }
コード例 #4
0
 public override int GetHashCode()
 {
     return(IndexName != null ? IndexName.GetHashCode() : 0);
 }
コード例 #5
0
ファイル: SQLiteIndex.cs プロジェクト: scottrice/NzbDrone
 public override int GetHashCode()
 {
     return(IndexName.GetHashCode());
 }