Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MsgCmd != 0)
            {
                hash ^= MsgCmd.GetHashCode();
            }
            if (Uuid.Length != 0)
            {
                hash ^= Uuid.GetHashCode();
            }
            if (TimeStart.Length != 0)
            {
                hash ^= TimeStart.GetHashCode();
            }
            if (TimeEnd.Length != 0)
            {
                hash ^= TimeEnd.GetHashCode();
            }
            if (ImageBase64.Length != 0)
            {
                hash ^= ImageBase64.GetHashCode();
            }
            if (Processed != 0)
            {
                hash ^= Processed.GetHashCode();
            }
            hash ^= targetFeatureList_.GetHashCode();
            hash ^= targetResultList_.GetHashCode();
            return(hash);
        }
Пример #2
0
 public override int GetHashCode()
 {
     return(TimeStart.GetHashCode() ^ Precision.GetHashCode());
 }
Пример #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Scope != 0)
            {
                hash ^= Scope.GetHashCode();
            }
            if (State != 0)
            {
                hash ^= State.GetHashCode();
            }
            if (Action != 0)
            {
                hash ^= Action.GetHashCode();
            }
            if (ProjectName.Length != 0)
            {
                hash ^= ProjectName.GetHashCode();
            }
            if (ClassName.Length != 0)
            {
                hash ^= ClassName.GetHashCode();
            }
            if (FunctionName.Length != 0)
            {
                hash ^= FunctionName.GetHashCode();
            }
            if (Url.Length != 0)
            {
                hash ^= Url.GetHashCode();
            }
            if (Method.Length != 0)
            {
                hash ^= Method.GetHashCode();
            }
            if (ParaJson.Length != 0)
            {
                hash ^= ParaJson.GetHashCode();
            }
            if (MessageText.Length != 0)
            {
                hash ^= MessageText.GetHashCode();
            }
            if (TimeStart != 0L)
            {
                hash ^= TimeStart.GetHashCode();
            }
            if (TimeEnd != 0L)
            {
                hash ^= TimeEnd.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }