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 = base.GetHashCode();

            hash = 31 * hash + mPriority.GetHashCode();
            hash = 31 * hash + mMessageType.GetHashCode();
            hash = 31 * hash + mTargetId.GetHashCode();
            return(hash);
        }