示例#1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Code != 0)
            {
                hash ^= Code.GetHashCode();
            }
            if (Time != 0L)
            {
                hash ^= Time.GetHashCode();
            }
            if (ToId.Length != 0)
            {
                hash ^= ToId.GetHashCode();
            }
            if (FromId.Length != 0)
            {
                hash ^= FromId.GetHashCode();
            }
            if (ReqId.Length != 0)
            {
                hash ^= ReqId.GetHashCode();
            }
            if (Data.Length != 0)
            {
                hash ^= Data.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Cmd != global::Com.Eyu.UnitySocketLibrary.Command.Knull)
            {
                hash ^= Cmd.GetHashCode();
            }
            if (ReqId != 0)
            {
                hash ^= ReqId.GetHashCode();
            }
            if (Code != 0)
            {
                hash ^= Code.GetHashCode();
            }
            if (login_ != null)
            {
                hash ^= Login.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Code != global::Clarifai.Api.Status.StatusCode.Zero)
            {
                hash ^= Code.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (Details.Length != 0)
            {
                hash ^= Details.GetHashCode();
            }
            hash ^= stackTrace_.GetHashCode();
            if (PercentCompleted != 0)
            {
                hash ^= PercentCompleted.GetHashCode();
            }
            if (TimeRemaining != 0)
            {
                hash ^= TimeRemaining.GetHashCode();
            }
            if (ReqId.Length != 0)
            {
                hash ^= ReqId.GetHashCode();
            }
            if (InternalDetails.Length != 0)
            {
                hash ^= InternalDetails.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }