Example #1
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 = 4909;

            hash = hash * 1877 + functionName.GetHashCode();
            hash = hash * 1877 + CountOfParams.GetHashCode();

            return(hash);
        }
Example #2
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 = 6949;

            hash = hash * 5437 + Function.GetHashCode();
            hash = hash * 5437 + CountOfParams.GetHashCode();

            return(hash);
        }