Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ObjectId.Length != 0)
            {
                hash ^= ObjectId.GetHashCode();
            }
            if (Imagepath.Length != 0)
            {
                hash ^= Imagepath.GetHashCode();
            }
            if (Score != 0D)
            {
                hash ^= Score.GetHashCode();
            }
            if (Appscore != 0D)
            {
                hash ^= Appscore.GetHashCode();
            }
            if (Colorscore != 0D)
            {
                hash ^= Colorscore.GetHashCode();
            }
            if (Passtime.Length != 0)
            {
                hash ^= Passtime.GetHashCode();
            }
            if (Location.Length != 0)
            {
                hash ^= Location.GetHashCode();
            }
            if (Targettype.Length != 0)
            {
                hash ^= Targettype.GetHashCode();
            }
            if (Keyrect.Length != 0)
            {
                hash ^= Keyrect.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Imagepath.Length != 0)
            {
                hash ^= Imagepath.GetHashCode();
            }
            if (Jsonresult.Length != 0)
            {
                hash ^= Jsonresult.GetHashCode();
            }
            if (Uuid.Length != 0)
            {
                hash ^= Uuid.GetHashCode();
            }
            return(hash);
        }