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

            if (Asr.Length != 0)
            {
                hash ^= Asr.GetHashCode();
            }
            if (Transcript.Length != 0)
            {
                hash ^= Transcript.GetHashCode();
            }
            if (IsFinal != false)
            {
                hash ^= IsFinal.GetHashCode();
            }
            if (Confidence != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Confidence);
            }
            if (Answer.Length != 0)
            {
                hash ^= Answer.GetHashCode();
            }
            if (ImageUrl.Length != 0)
            {
                hash ^= ImageUrl.GetHashCode();
            }
            if (ImageYesNo.Length != 0)
            {
                hash ^= ImageYesNo.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }