Пример #1
0
        ///<summary>
        /// Get Hash Code.
        ///</summary>
        ///<returns>Hash Code for the current instance.</returns>
        public override int GetHashCode()
        {
            int hashCode = base.GetHashCode();

            if (_source != null)
            {
                hashCode += _source.GetHashCode();
            }
            if (_target != null)
            {
                hashCode += _target.GetHashCode();
            }
            return(hashCode);
        }