예제 #1
0
 public void MergeFrom(ResolveAppResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.appInstanceId_ != null)
     {
         if (appInstanceId_ == null)
         {
             appInstanceId_ = new global::Plexus.Host.Internal.Generated.UniqueId();
         }
         AppInstanceId.MergeFrom(other.AppInstanceId);
     }
     if (other.appConnectionId_ != null)
     {
         if (appConnectionId_ == null)
         {
             appConnectionId_ = new global::Plexus.Host.Internal.Generated.UniqueId();
         }
         AppConnectionId.MergeFrom(other.AppConnectionId);
     }
     if (other.IsNewInstanceLaunched != false)
     {
         IsNewInstanceLaunched = other.IsNewInstanceLaunched;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (appInstanceId_ != null)
            {
                hash ^= AppInstanceId.GetHashCode();
            }
            if (appConnectionId_ != null)
            {
                hash ^= AppConnectionId.GetHashCode();
            }
            if (IsNewInstanceLaunched != false)
            {
                hash ^= IsNewInstanceLaunched.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }