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

            if (AppId.Length != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (LaunchParamsJson.Length != 0)
            {
                hash ^= LaunchParamsJson.GetHashCode();
            }
            if (LaunchMode != global::Plexus.Interop.Testing.Generated.AppLaunchMode.SingleInstance)
            {
                hash ^= LaunchMode.GetHashCode();
            }
            if (suggestedAppInstanceId_ != null)
            {
                hash ^= SuggestedAppInstanceId.GetHashCode();
            }
            if (referrer_ != null)
            {
                hash ^= Referrer.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId.Length != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (LaunchParamsJson.Length != 0)
            {
                hash ^= LaunchParamsJson.GetHashCode();
            }
            if (LaunchMode != 0)
            {
                hash ^= LaunchMode.GetHashCode();
            }
            if (suggestedAppInstanceId_ != null)
            {
                hash ^= SuggestedAppInstanceId.GetHashCode();
            }
            if (referrer_ != null)
            {
                hash ^= Referrer.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #3
0
 public void MergeFrom(AppLaunchRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.AppId.Length != 0)
     {
         AppId = other.AppId;
     }
     if (other.LaunchParamsJson.Length != 0)
     {
         LaunchParamsJson = other.LaunchParamsJson;
     }
     if (other.LaunchMode != global::Plexus.Interop.Testing.Generated.AppLaunchMode.SingleInstance)
     {
         LaunchMode = other.LaunchMode;
     }
     if (other.suggestedAppInstanceId_ != null)
     {
         if (suggestedAppInstanceId_ == null)
         {
             SuggestedAppInstanceId = new global::Plexus.Interop.Testing.Generated.UniqueId();
         }
         SuggestedAppInstanceId.MergeFrom(other.SuggestedAppInstanceId);
     }
     if (other.referrer_ != null)
     {
         if (referrer_ == null)
         {
             Referrer = new global::Plexus.Interop.Testing.Generated.AppLaunchReferrer();
         }
         Referrer.MergeFrom(other.Referrer);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }