Beispiel #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()
        {
            var hash = 6949;

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

            return(hash);
        }
Beispiel #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()
        {
            var hash = 4909;

            hash = hash * 1877 + FunctionName.GetHashCode();
            hash = hash * 1877 + CountOfParameters.GetHashCode();

            return(hash);
        }