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

            hashCode = hashCode * -1521134295 + ColumnIndex.GetHashCode();
            hashCode = hashCode * -1521134295 + RowIndex.GetHashCode();
            return(hashCode);
        }
Esempio n. 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);
        }
Esempio n. 4
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     return((ColumnName.IsNull() ? 0 : ColumnName.GetHashCode())
            ^ (ColumnIndex.IsNull() ? 0 : ColumnIndex.GetHashCode()));
 }
 public override int GetHashCode()
 {
     return(RowIndex.GetHashCode() * ColumnIndex.GetHashCode());
 }
Esempio n. 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());
 }