public override int GetHashCode()
        {
            int hash = 13;

            hash = (hash * 7) + _transformSnapshot.GetHashCode();
            hash = (hash * 7) + _cameraType.GetHashCode();

            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Ip.Length != 0)
            {
                hash ^= Ip.GetHashCode();
            }
            if (Version.Length != 0)
            {
                hash ^= Version.GetHashCode();
            }
            hash ^= serialId_.GetHashCode();
            if (EyeId.Length != 0)
            {
                hash ^= EyeId.GetHashCode();
            }
            if (CameraType != 0)
            {
                hash ^= CameraType.GetHashCode();
            }
            if (Commit.Length != 0)
            {
                hash ^= Commit.GetHashCode();
            }
            if (Temp.Length != 0)
            {
                hash ^= Temp.GetHashCode();
            }
            if (IsLinux != false)
            {
                hash ^= IsLinux.GetHashCode();
            }
            if (IsUbuntu18 != false)
            {
                hash ^= IsUbuntu18.GetHashCode();
            }
            if (Time.Length != 0)
            {
                hash ^= Time.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }