Example #1
0
        public override int GetHashCode()
        {
            var hash = 17;

            hash = hash * 23 + FactorID.GetHashCode();
            hash = hash * 23 + DatasetID.GetHashCode();

            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            var hash = 17;

            hash = hash * 23 + FactorID.GetHashCode();
            hash = hash * 23 + Name.GetHashCode();
            hash = hash * 23 + Value.GetHashCode();

            return(hash);
        }
Example #3
0
 /// <summary>
 /// Serves as a hash function for a particular type. GetHashCode() is suitable
 /// for use in hashing algorithms and data structures like a hash table.
 /// </summary>
 /// <returns>A hash code for the current object.</returns>
 public override int GetHashCode()
 {
     return(FactorID.GetHashCode());
 }