public override int GetHashCode()
        {
            int result = EndpointUri.GetHashCode();

            result = 29 * result + MessageName.GetHashCode();
            result = 29 * result + CorrelationId.GetHashCode();
            return(result);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (MessageName.Length != 0)
            {
                hash ^= MessageName.GetHashCode();
            }
            hash ^= payload_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MessageName.Length != 0)
            {
                hash ^= MessageName.GetHashCode();
            }
            if (MessageGender.Length != 0)
            {
                hash ^= MessageGender.GetHashCode();
            }
            if (MessageAge.Length != 0)
            {
                hash ^= MessageAge.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }