예제 #1
0
 public override int GetHashCode()
 {
     if (Category != null)
     {
         return(ColumnIndex.GetHashCode() ^ Category.GetHashCode());
     }
     return(ColumnIndex.GetHashCode() ^ Split.GetHashCode());
 }
예제 #2
0
        public override int GetHashCode()
        {
            int hashCode = 196471078;

            hashCode = hashCode * -1521134295 + ColumnIndex.GetHashCode();
            hashCode = hashCode * -1521134295 + RowIndex.GetHashCode();
            return(hashCode);
        }
예제 #3
0
        /// <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()
        {
            int hash = 17;

            hash = (hash * 23) + ColumnIndex.GetHashCode();
            hash = (hash * 23) + RowIndex.GetHashCode();
            hash = (hash * 23) + State.GetHashCode();

            return(hash);
        }
예제 #4
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     return((ColumnName.IsNull() ? 0 : ColumnName.GetHashCode())
            ^ (ColumnIndex.IsNull() ? 0 : ColumnIndex.GetHashCode()));
 }
예제 #5
0
 public override int GetHashCode()
 {
     return(RowIndex.GetHashCode() * ColumnIndex.GetHashCode());
 }
예제 #6
0
 /// <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()
 {
     return(ColumnIndex.GetHashCode() ^ RowIndex.GetHashCode() ^ State.GetHashCode());
 }
 public override int GetHashCode()
 {
     return(ColumnIndex.GetHashCode() ^ Value.GetHashCode());
 }