public override int GetHashCode()
 {
     return(AppId.GetHashCode() ^ DllSurrogate.GetSafeHashCode()
            ^ RunAs.GetSafeHashCode() ^ Name.GetSafeHashCode() ^ Flags.GetHashCode() ^
            LaunchPermission.GetSafeHashCode() ^ AccessPermission.GetSafeHashCode() ^
            LocalService.GetSafeHashCode() ^ RotFlags.GetHashCode());
 }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId.Length != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (AppKey.Length != 0)
            {
                hash ^= AppKey.GetHashCode();
            }
            if (AccountId.Length != 0)
            {
                hash ^= AccountId.GetHashCode();
            }
            if (Token.Length != 0)
            {
                hash ^= Token.GetHashCode();
            }
            if (GameType != 0)
            {
                hash ^= GameType.GetHashCode();
            }
            return(hash);
        }
Exemple #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (connectionId_ != null)
            {
                hash ^= ConnectionId.GetHashCode();
            }
            if (AppId.Length != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (appInstanceId_ != null)
            {
                hash ^= AppInstanceId.GetHashCode();
            }
            if (TransportType != global::Plexus.Interop.Apps.Internal.Generated.TransportType.Unknown)
            {
                hash ^= TransportType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #4
0
        public override int GetHashCode()
        {
            var prime  = 31;
            var result = 1;

            result = (prime * result) + ((AppId == null) ? 0 : AppId.GetHashCode());
            result = (prime * result) + ((ClusterId == null) ? 0 : ClusterId.GetHashCode());
            result = (prime * result) + ((ContentEncoding == null) ? 0 : ContentEncoding.GetHashCode());
            result = (prime * result) + (int)(ContentLength ^ (ContentLength >> INT_MASK));
            result = (prime * result) + ((ContentType == null) ? 0 : ContentType.GetHashCode());
            result = (prime * result) + ((CorrelationId == null) ? 0 : CorrelationId.GetHashCode());
            result = (prime * result) + ((DeliveryMode == null) ? 0 : DeliveryMode.GetHashCode());
            result = (prime * result) + (int)(DeliveryTag ^ (DeliveryTag >> INT_MASK));
            result = (prime * result) + ((Expiration == null) ? 0 : Expiration.GetHashCode());
            result = (prime * result) + Headers.GetHashCode();
            result = (prime * result) + ((MessageCount == null) ? 0 : MessageCount.GetHashCode());
            result = (prime * result) + ((MessageId == null) ? 0 : MessageId.GetHashCode());
            result = (prime * result) + ((Priority == null) ? 0 : Priority.GetHashCode());
            result = (prime * result) + ((ReceivedExchange == null) ? 0 : ReceivedExchange.GetHashCode());
            result = (prime * result) + ((ReceivedRoutingKey == null) ? 0 : ReceivedRoutingKey.GetHashCode());
            result = (prime * result) + ((Redelivered == null) ? 0 : Redelivered.GetHashCode());
            result = (prime * result) + ((ReplyTo == null) ? 0 : ReplyTo.GetHashCode());
            result = (prime * result) + ((Timestamp == null) ? 0 : Timestamp.GetHashCode());
            result = (prime * result) + ((Type == null) ? 0 : Type.GetHashCode());
            result = (prime * result) + ((UserId == null) ? 0 : UserId.GetHashCode());
            return(result);
        }
Exemple #5
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 #6
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Returns HashCode</returns>
 public override int GetHashCode()
 {
     return(String.Format("{0}|{1}|",
                          AppId?.GetHashCode() ?? 0,
                          PackageUrl?.GetHashCode() ?? 0
                          ).GetHashCode());
 }
Exemple #7
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 #8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Email.Length != 0)
            {
                hash ^= Email.GetHashCode();
            }
            if (PlayerId.Length != 0)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (AppId.Length != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (Key.Length != 0)
            {
                hash ^= Key.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #9
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (BrokerId.Length != 0)
            {
                hash ^= BrokerId.GetHashCode();
            }
            if (UserId.Length != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (AppId.Length != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (AuthCode.Length != 0)
            {
                hash ^= AuthCode.GetHashCode();
            }
            if (UserProductInfo.Length != 0)
            {
                hash ^= UserProductInfo.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        /// <inheritdoc />
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = AppId.GetHashCode();
                hashCode = (hashCode * 397) ^ ClassId.GetHashCode();
                hashCode = (hashCode * 397) ^ InstanceId.GetHashCode();

                return(hashCode);
            }
        }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Version != null ? Version.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Challenge != null ? Challenge.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AppId != null ? AppId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SessionId != null ? SessionId.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemple #12
0
        /// <inheritdoc />
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = Amount.GetHashCode();
                hashCode = (hashCode * 397) ^ AppId.GetHashCode();
                hashCode = (hashCode * 397) ^ CurrencyId.GetHashCode();
                hashCode = (hashCode * 397) ^ ContextId.GetHashCode();

                return(hashCode);
            }
        }
Exemple #13
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (InstanceId != 0L)
            {
                hash ^= InstanceId.GetHashCode();
            }
            if (Flags != 0)
            {
                hash ^= Flags.GetHashCode();
            }
            if (EncodingType != global::AcFunDanmu.PacketHeader.Types.EncodingType.KEncodingNone)
            {
                hash ^= EncodingType.GetHashCode();
            }
            if (DecodedPayloadLen != 0)
            {
                hash ^= DecodedPayloadLen.GetHashCode();
            }
            if (EncryptionMode != global::AcFunDanmu.PacketHeader.Types.EncryptionMode.KEncryptionNone)
            {
                hash ^= EncryptionMode.GetHashCode();
            }
            if (tokenInfo_ != null)
            {
                hash ^= TokenInfo.GetHashCode();
            }
            if (SeqId != 0L)
            {
                hash ^= SeqId.GetHashCode();
            }
            hash ^= features_.GetHashCode();
            if (Kpn.Length != 0)
            {
                hash ^= Kpn.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #14
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (MarketHashName.Length != 0)
            {
                hash ^= MarketHashName.GetHashCode();
            }
            return(hash);
        }
Exemple #15
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId.Length != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (LaunchParamsJson.Length != 0)
            {
                hash ^= LaunchParamsJson.GetHashCode();
            }
            return(hash);
        }
Exemple #16
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId != 0UL)
            {
                hash ^= AppId.GetHashCode();
            }
            if (Data.Length != 0)
            {
                hash ^= Data.GetHashCode();
            }
            return(hash);
        }
Exemple #17
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #18
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId.Length != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (AppResolveMode != 0)
            {
                hash ^= AppResolveMode.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #19
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EventId != 0UL)
            {
                hash ^= EventId.GetHashCode();
            }
            if (EventType != 0)
            {
                hash ^= EventType.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.LongValue)
            {
                hash ^= LongValue.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.DoubleValue)
            {
                hash ^= DoubleValue.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.SkeletonValue)
            {
                hash ^= SkeletonValue.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.ObjectValue)
            {
                hash ^= ObjectValue.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.StringValue)
            {
                hash ^= StringValue.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.CustomValue)
            {
                hash ^= CustomValue.GetHashCode();
            }
            if (appTypeCase_ == AppTypeOneofCase.AppId)
            {
                hash ^= AppId.GetHashCode();
            }
            hash ^= (int)valueTypeCase_;
            hash ^= (int)appTypeCase_;
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (appAnalyticsProviderId_ != null)
            {
                hash ^= AppAnalyticsProviderId.GetHashCode();
            }
            if (appId_ != null)
            {
                hash ^= AppId.GetHashCode();
            }
            if (AppVendor != global::Google.Ads.GoogleAds.V4.Enums.MobileAppVendorEnum.Types.MobileAppVendor.Unspecified)
            {
                hash ^= AppVendor.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (appId_ != null)
            {
                hash ^= AppId.GetHashCode();
            }
            if (UploadKeyType != 0)
            {
                hash ^= UploadKeyType.GetHashCode();
            }
            if (DataSourceType != 0)
            {
                hash ^= DataSourceType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #22
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId.Length != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (appInstanceId_ != null)
            {
                hash ^= AppInstanceId.GetHashCode();
            }
            if (connectionId_ != null)
            {
                hash ^= ConnectionId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #23
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId.Length != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Namespace.Length != 0)
            {
                hash ^= Namespace.GetHashCode();
            }
            if (Revision != 0UL)
            {
                hash ^= Revision.GetHashCode();
            }
            if (SourceId.Length != 0)
            {
                hash ^= SourceId.GetHashCode();
            }
            hash ^= Jobs.GetHashCode();
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (CreatedBy.Length != 0)
            {
                hash ^= CreatedBy.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #24
0
 public override int GetHashCode()
 {
     return(ContextId.GetHashCode() ^ AssetId.GetHashCode() ^ AppId.GetHashCode() ^ Amount.GetHashCode());
 }
 public override int GetHashCode()
 {
     unchecked
     {
         return((((((((-1285232646 * -1521134295 + IsOptedIn.GetHashCode()) * -1521134295 + EqualityComparer <string> .Default.GetHashCode(HostName)) * -1521134295 + EqualityComparer <string> .Default.GetHashCode(AppInsightsInstrumentationKey)) * -1521134295 + EqualityComparer <string> .Default.GetHashCode(AsimovInstrumentationKey)) * -1521134295 + AppId.GetHashCode()) * -1521134295 + EqualityComparer <Guid?> .Default.GetHashCode(UserId)) * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Id)) * -1521134295 + ProcessStartTime.GetHashCode());
     }
 }
Exemple #26
0
 public override int GetHashCode()
 {
     return(AppId.GetHashCode() ^ PackageId.GetHashCode() ^ ContractId.GetHashCode() ^ Description.GetHashCode()
            ^ DisplayName.GetHashCode() ^ Icon.GetHashCode() ^ Vendor.GetHashCode() ^ COMUtilities.GetHashCodeDictionary(CustomProperties)
            ^ Source.GetHashCode());
 }
Exemple #27
0
 public override int GetHashCode()
 {
     return(AppId.GetHashCode());
 }
 public override int GetHashCode() => (AppId != null ? AppId.GetHashCode() : 0);