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

            if (Session.Length != 0)
            {
                hash ^= Session.GetHashCode();
            }
            if (ResponseId.Length != 0)
            {
                hash ^= ResponseId.GetHashCode();
            }
            if (queryResult_ != null)
            {
                hash ^= QueryResult.GetHashCode();
            }
            if (originalDetectIntentRequest_ != null)
            {
                hash ^= OriginalDetectIntentRequest.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
 public override int GetHashCode()
 {
     return(Id.GetHashCode() + Type.GetHashCode() + ResponseId.GetHashCode() + Module.GetHashCode());
 }