Ejemplo n.º 1
0
        /// <summary>
        /// Return the HashCode of this object.
        /// </summary>
        /// <returns>The HashCode of this object.</returns>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return(Location.GetHashCode() * 11 ^
                       RetrieveDate.GetHashCode() * 7 ^

                       (Retries.HasValue
                            ? Retries.GetHashCode() * 5
                            : 0) ^

                       (RetryInterval.HasValue
                            ? RetryInterval.GetHashCode()
                            : 0));
            }
        }