示例#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);
        }
示例#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);
        }