/// <summary>
        /// Returns true if ComDayCqDamStockIntegrationImplConfigurationStockConfigurationProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqDamStockIntegrationImplConfigurationStockConfigurationProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqDamStockIntegrationImplConfigurationStockConfigurationProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Name == other.Name ||
                     Name != null &&
                     Name.Equals(other.Name)
                     ) &&
                 (
                     Locale == other.Locale ||
                     Locale != null &&
                     Locale.Equals(other.Locale)
                 ) &&
                 (
                     ImsConfig == other.ImsConfig ||
                     ImsConfig != null &&
                     ImsConfig.Equals(other.ImsConfig)
                 ));
        }
Beispiel #2
0
        /// <summary>
        /// Returns true if HostedCheckoutSpecificInput instances are equal
        /// </summary>
        /// <param name="other">Instance of HostedCheckoutSpecificInput to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(HostedCheckoutSpecificInput other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     IsRecurring == other.IsRecurring ||
                     IsRecurring != null &&
                     IsRecurring.Equals(other.IsRecurring)
                     ) &&
                 (
                     Locale == other.Locale ||
                     Locale != null &&
                     Locale.Equals(other.Locale)
                 ) &&
                 (
                     PaymentProductFilters == other.PaymentProductFilters ||
                     PaymentProductFilters != null &&
                     PaymentProductFilters.Equals(other.PaymentProductFilters)
                 ) &&
                 (
                     ReturnCancelState == other.ReturnCancelState ||
                     ReturnCancelState != null &&
                     ReturnCancelState.Equals(other.ReturnCancelState)
                 ) &&
                 (
                     ReturnUrl == other.ReturnUrl ||
                     ReturnUrl != null &&
                     ReturnUrl.Equals(other.ReturnUrl)
                 ) &&
                 (
                     ShowResultPage == other.ShowResultPage ||
                     ShowResultPage != null &&
                     ShowResultPage.Equals(other.ShowResultPage)
                 ) &&
                 (
                     Tokens == other.Tokens ||
                     Tokens != null &&
                     Tokens.Equals(other.Tokens)
                 ) &&
                 (
                     ValidateShoppingCart == other.ValidateShoppingCart ||
                     ValidateShoppingCart != null &&
                     ValidateShoppingCart.Equals(other.ValidateShoppingCart)
                 ) &&
                 (
                     Variant == other.Variant ||
                     Variant != null &&
                     Variant.Equals(other.Variant)
                 ));
        }
 /// <summary>
 /// Returns {@code true} if the given {@code locale} is supported by
 /// this locale service provider. The given {@code locale} may contain
 /// <a href="../Locale.html#def_extensions">extensions</a> that should be
 /// taken into account for the support determination.
 ///
 /// <para>The default implementation returns {@code true} if the given {@code locale}
 /// is equal to any of the available {@code Locale}s returned by
 /// <seealso cref="#getAvailableLocales()"/> with ignoring any extensions in both the
 /// given {@code locale} and the available locales. Concrete locale service
 /// provider implementations should override this method if those
 /// implementations are {@code Locale} extensions-aware. For example,
 /// {@code DecimalFormatSymbolsProvider} implementations will need to check
 /// extensions in the given {@code locale} to see if any numbering system is
 /// specified and can be supported. However, {@code CollatorProvider}
 /// implementations may not be affected by any particular numbering systems,
 /// and in that case, extensions for numbering systems should be ignored.
 ///
 /// </para>
 /// </summary>
 /// <param name="locale"> a {@code Locale} to be tested </param>
 /// <returns> {@code true} if the given {@code locale} is supported by this
 ///         provider; {@code false} otherwise. </returns>
 /// <exception cref="NullPointerException">
 ///         if the given {@code locale} is {@code null} </exception>
 /// <seealso cref= Locale#hasExtensions() </seealso>
 /// <seealso cref= Locale#stripExtensions()
 /// @since 1.8 </seealso>
 public virtual bool IsSupportedLocale(Locale locale)
 {
     locale = locale.StripExtensions();             // throws NPE if locale == null
     foreach (Locale available in AvailableLocales)
     {
         if (locale.Equals(available.StripExtensions()))
         {
             return(true);
         }
     }
     return(false);
 }
Beispiel #4
0
        public override void OnConfigurationChanged(Android.Content.Res.Configuration newConfig)
        {
            base.OnConfigurationChanged(newConfig);

            GrialKit.NotifyConfigurationChanged(newConfig);

            if ((int)Build.VERSION.SdkInt <= 19 &&
                !locale.Equals(newConfig.Locale))
            {
                // Need to recreate the activity when locale has changed for APIs 18 and 19
                // as changes in ConfigChanges.Locale break images used in the app
                Recreate();
            }
        }
Beispiel #5
0
        public static string TranslateString(string tableGuid, string keyGuid, Locale locale)
        {
            if (!initialized)
            {
                Initialize();
            }
            if (locale.Equals(currentLocale))
            {
                return(TranslateString(tableGuid, keyGuid));
            }
            var localeIndex = Settings.Locales.IndexOf(locale);

            if (localeIndex < 0)
            {
                return(null);
            }
            return(TranslateString(tableGuid, keyGuid, localeIndex));
        }
Beispiel #6
0
        /// <summary>
        /// Returns true if Customer instances are equal
        /// </summary>
        /// <param name="other">Instance of Customer to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(Customer other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     BillingAddress == other.BillingAddress ||
                     BillingAddress != null &&
                     BillingAddress.Equals(other.BillingAddress)
                     ) &&
                 (
                     ContactDetails == other.ContactDetails ||
                     ContactDetails != null &&
                     ContactDetails.Equals(other.ContactDetails)
                 ) &&
                 (
                     FiscalNumber == other.FiscalNumber ||
                     FiscalNumber != null &&
                     FiscalNumber.Equals(other.FiscalNumber)
                 ) &&
                 (
                     Locale == other.Locale ||
                     Locale != null &&
                     Locale.Equals(other.Locale)
                 ) &&
                 (
                     PersonalInformation == other.PersonalInformation ||
                     PersonalInformation != null &&
                     PersonalInformation.Equals(other.PersonalInformation)
                 ) &&
                 (
                     ShippingAddress == other.ShippingAddress ||
                     ShippingAddress != null &&
                     ShippingAddress.Equals(other.ShippingAddress)
                 ));
        }
Beispiel #7
0
        public override bool IsComparable(DataType type)
        {
            // Are we comparing with another string type?
            if (!(type is StringType))
            {
                return(false);
            }

            var stringType = (StringType)type;

            // If either locale is null return true
            if (Locale == null || stringType.Locale == null)
            {
                return(true);
            }

            // If the locales are the same return true
            return(Locale.Equals(stringType.Locale));
        }
Beispiel #8
0
        /// <inheritdoc/>
        public override bool IsComparable(SqlType type)
        {
            // Are we comparing with another string type?
            if (type is StringType)
            {
                var stringType = (StringType)type;
                // If either locale is null return true
                if (Locale == null || stringType.Locale == null)
                {
                    return(true);
                }

                //TODO: Check batter on the locale comparison: we could compare
                //      neutral cultures

                // If the locales are the same return true
                return(Locale.Equals(stringType.Locale));
            }

            // Only string types can be comparable
            return(false);
        }
Beispiel #9
0
        public static string FullName <TPersonName>(this TPersonName personName, Locale locale = null)
            where TPersonName : IPersonName
        {
            locale = locale ?? Locale.English;

            var fullNameBuilder = new StringBuilder();

            if (locale.Equals(Locale.Chinese))
            {
                if (!string.IsNullOrWhiteSpace(personName.FamilyName))
                {
                    fullNameBuilder.Append(personName.FamilyName.Trim());
                }
                if (!string.IsNullOrWhiteSpace(personName.MiddleName))
                {
                    fullNameBuilder.Append(personName.MiddleName.Trim());
                }
                if (!string.IsNullOrWhiteSpace(personName.GivenName))
                {
                    fullNameBuilder.Append(personName.GivenName.Trim());
                }
            }
            else
            {
                if (!string.IsNullOrWhiteSpace(personName.GivenName))
                {
                    fullNameBuilder.Append(personName.GivenName.Trim() + " ");
                }
                if (!string.IsNullOrWhiteSpace(personName.MiddleName))
                {
                    fullNameBuilder.Append(personName.MiddleName.Trim() + " ");
                }
                if (!string.IsNullOrWhiteSpace(personName.FamilyName))
                {
                    fullNameBuilder.Append(personName.FamilyName.Trim() + " ");
                }
            }
            return(fullNameBuilder.ToString().Trim());
        }
Beispiel #10
0
        /// <summary>
        /// Returns true if LinkedFeeFeeDescription instances are equal
        /// </summary>
        /// <param name="other">Instance of LinkedFeeFeeDescription to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(LinkedFeeFeeDescription other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Locale == other.Locale ||
                     Locale != null &&
                     Locale.Equals(other.Locale)
                     ) &&
                 (
                     Description == other.Description ||
                     Description != null &&
                     Description.Equals(other.Description)
                 ));
        }
Beispiel #11
0
        /// <summary>
        /// Returns true if ReturnAuthorizationDispositionInstructions instances are equal
        /// </summary>
        /// <param name="other">Instance of ReturnAuthorizationDispositionInstructions to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ReturnAuthorizationDispositionInstructions other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Locale == other.Locale ||
                     Locale != null &&
                     Locale.Equals(other.Locale)
                     ) &&
                 (
                     Text == other.Text ||
                     Text != null &&
                     Text.Equals(other.Text)
                 ));
        }
Beispiel #12
0
        public bool Equals(GroupV2Card input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     GroupId == input.GroupId ||
                     (GroupId.Equals(input.GroupId))
                     ) &&
                 (
                     Name == input.Name ||
                     (Name != null && Name.Equals(input.Name))
                 ) &&
                 (
                     GroupType == input.GroupType ||
                     (GroupType != null && GroupType.Equals(input.GroupType))
                 ) &&
                 (
                     CreationDate == input.CreationDate ||
                     (CreationDate != null && CreationDate.Equals(input.CreationDate))
                 ) &&
                 (
                     About == input.About ||
                     (About != null && About.Equals(input.About))
                 ) &&
                 (
                     Motto == input.Motto ||
                     (Motto != null && Motto.Equals(input.Motto))
                 ) &&
                 (
                     MemberCount == input.MemberCount ||
                     (MemberCount.Equals(input.MemberCount))
                 ) &&
                 (
                     Locale == input.Locale ||
                     (Locale != null && Locale.Equals(input.Locale))
                 ) &&
                 (
                     MembershipOption == input.MembershipOption ||
                     (MembershipOption != null && MembershipOption.Equals(input.MembershipOption))
                 ) &&
                 (
                     Capabilities == input.Capabilities ||
                     (Capabilities != null && Capabilities.Equals(input.Capabilities))
                 ) &&
                 (
                     ClanInfo == input.ClanInfo ||
                     (ClanInfo != null && ClanInfo.Equals(input.ClanInfo))
                 ) &&
                 (
                     AvatarPath == input.AvatarPath ||
                     (AvatarPath != null && AvatarPath.Equals(input.AvatarPath))
                 ) &&
                 (
                     Theme == input.Theme ||
                     (Theme != null && Theme.Equals(input.Theme))
                 ));
        }
Beispiel #13
0
        public bool Equals(GeneralUser input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     MembershipId == input.MembershipId ||
                     (MembershipId.Equals(input.MembershipId))
                     ) &&
                 (
                     UniqueName == input.UniqueName ||
                     (UniqueName != null && UniqueName.Equals(input.UniqueName))
                 ) &&
                 (
                     NormalizedName == input.NormalizedName ||
                     (NormalizedName != null && NormalizedName.Equals(input.NormalizedName))
                 ) &&
                 (
                     DisplayName == input.DisplayName ||
                     (DisplayName != null && DisplayName.Equals(input.DisplayName))
                 ) &&
                 (
                     ProfilePicture == input.ProfilePicture ||
                     (ProfilePicture.Equals(input.ProfilePicture))
                 ) &&
                 (
                     ProfileTheme == input.ProfileTheme ||
                     (ProfileTheme.Equals(input.ProfileTheme))
                 ) &&
                 (
                     UserTitle == input.UserTitle ||
                     (UserTitle.Equals(input.UserTitle))
                 ) &&
                 (
                     SuccessMessageFlags == input.SuccessMessageFlags ||
                     (SuccessMessageFlags.Equals(input.SuccessMessageFlags))
                 ) &&
                 (
                     IsDeleted == input.IsDeleted ||
                     (IsDeleted != null && IsDeleted.Equals(input.IsDeleted))
                 ) &&
                 (
                     About == input.About ||
                     (About != null && About.Equals(input.About))
                 ) &&
                 (
                     FirstAccess == input.FirstAccess ||
                     (FirstAccess != null && FirstAccess.Equals(input.FirstAccess))
                 ) &&
                 (
                     LastUpdate == input.LastUpdate ||
                     (LastUpdate != null && LastUpdate.Equals(input.LastUpdate))
                 ) &&
                 (
                     LegacyPortalUid == input.LegacyPortalUid ||
                     (LegacyPortalUid.Equals(input.LegacyPortalUid))
                 ) &&
                 (
                     Context == input.Context ||
                     (Context != null && Context.Equals(input.Context))
                 ) &&
                 (
                     PsnDisplayName == input.PsnDisplayName ||
                     (PsnDisplayName != null && PsnDisplayName.Equals(input.PsnDisplayName))
                 ) &&
                 (
                     XboxDisplayName == input.XboxDisplayName ||
                     (XboxDisplayName != null && XboxDisplayName.Equals(input.XboxDisplayName))
                 ) &&
                 (
                     FbDisplayName == input.FbDisplayName ||
                     (FbDisplayName != null && FbDisplayName.Equals(input.FbDisplayName))
                 ) &&
                 (
                     ShowActivity == input.ShowActivity ||
                     (ShowActivity != null && ShowActivity.Equals(input.ShowActivity))
                 ) &&
                 (
                     Locale == input.Locale ||
                     (Locale != null && Locale.Equals(input.Locale))
                 ) &&
                 (
                     LocaleInheritDefault == input.LocaleInheritDefault ||
                     (LocaleInheritDefault != null && LocaleInheritDefault.Equals(input.LocaleInheritDefault))
                 ) &&
                 (
                     LastBanReportId == input.LastBanReportId ||
                     (LastBanReportId.Equals(input.LastBanReportId))
                 ) &&
                 (
                     ShowGroupMessaging == input.ShowGroupMessaging ||
                     (ShowGroupMessaging != null && ShowGroupMessaging.Equals(input.ShowGroupMessaging))
                 ) &&
                 (
                     ProfilePicturePath == input.ProfilePicturePath ||
                     (ProfilePicturePath != null && ProfilePicturePath.Equals(input.ProfilePicturePath))
                 ) &&
                 (
                     ProfilePictureWidePath == input.ProfilePictureWidePath ||
                     (ProfilePictureWidePath != null && ProfilePictureWidePath.Equals(input.ProfilePictureWidePath))
                 ) &&
                 (
                     ProfileThemeName == input.ProfileThemeName ||
                     (ProfileThemeName != null && ProfileThemeName.Equals(input.ProfileThemeName))
                 ) &&
                 (
                     UserTitleDisplay == input.UserTitleDisplay ||
                     (UserTitleDisplay != null && UserTitleDisplay.Equals(input.UserTitleDisplay))
                 ) &&
                 (
                     StatusText == input.StatusText ||
                     (StatusText != null && StatusText.Equals(input.StatusText))
                 ) &&
                 (
                     StatusDate == input.StatusDate ||
                     (StatusDate != null && StatusDate.Equals(input.StatusDate))
                 ) &&
                 (
                     ProfileBanExpire == input.ProfileBanExpire ||
                     (ProfileBanExpire != null && ProfileBanExpire.Equals(input.ProfileBanExpire))
                 ) &&
                 (
                     BlizzardDisplayName == input.BlizzardDisplayName ||
                     (BlizzardDisplayName != null && BlizzardDisplayName.Equals(input.BlizzardDisplayName))
                 ) &&
                 (
                     SteamDisplayName == input.SteamDisplayName ||
                     (SteamDisplayName != null && SteamDisplayName.Equals(input.SteamDisplayName))
                 ) &&
                 (
                     StadiaDisplayName == input.StadiaDisplayName ||
                     (StadiaDisplayName != null && StadiaDisplayName.Equals(input.StadiaDisplayName))
                 ) &&
                 (
                     TwitchDisplayName == input.TwitchDisplayName ||
                     (TwitchDisplayName != null && TwitchDisplayName.Equals(input.TwitchDisplayName))
                 ) &&
                 (
                     CachedBungieGlobalDisplayName == input.CachedBungieGlobalDisplayName ||
                     (CachedBungieGlobalDisplayName != null && CachedBungieGlobalDisplayName.Equals(input.CachedBungieGlobalDisplayName))
                 ) &&
                 (
                     CachedBungieGlobalDisplayNameCode == input.CachedBungieGlobalDisplayNameCode ||
                     (CachedBungieGlobalDisplayNameCode.Equals(input.CachedBungieGlobalDisplayNameCode))
                 ));
        }
        /// <summary>
        /// Returns true if JWToken instances are equal
        /// </summary>
        /// <param name="other">Instance of JWToken to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(JWToken other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Iss == other.Iss ||
                     Iss != null &&
                     Iss.Equals(other.Iss)
                     ) &&
                 (
                     Sub == other.Sub ||
                     Sub != null &&
                     Sub.Equals(other.Sub)
                 ) &&
                 (
                     Aud == other.Aud ||
                     Aud != null &&
                     Aud.Equals(other.Aud)
                 ) &&
                 (
                     Exp == other.Exp ||
                     Exp != null &&
                     Exp.Equals(other.Exp)
                 ) &&
                 (
                     Nbf == other.Nbf ||
                     Nbf != null &&
                     Nbf.Equals(other.Nbf)
                 ) &&
                 (
                     Iat == other.Iat ||
                     Iat != null &&
                     Iat.Equals(other.Iat)
                 ) &&
                 (
                     Jti == other.Jti ||
                     Jti != null &&
                     Jti.Equals(other.Jti)
                 ) &&
                 (
                     Uuid == other.Uuid ||
                     Uuid != null &&
                     Uuid.Equals(other.Uuid)
                 ) &&
                 (
                     Name == other.Name ||
                     Name != null &&
                     Name.Equals(other.Name)
                 ) &&
                 (
                     GivenName == other.GivenName ||
                     GivenName != null &&
                     GivenName.Equals(other.GivenName)
                 ) &&
                 (
                     Nickname == other.Nickname ||
                     Nickname != null &&
                     Nickname.Equals(other.Nickname)
                 ) &&
                 (
                     Email == other.Email ||
                     Email != null &&
                     Email.Equals(other.Email)
                 ) &&
                 (
                     EmailVerified == other.EmailVerified ||
                     EmailVerified != null &&
                     EmailVerified.Equals(other.EmailVerified)
                 ) &&
                 (
                     Zoneinfo == other.Zoneinfo ||
                     Zoneinfo != null &&
                     Zoneinfo.Equals(other.Zoneinfo)
                 ) &&
                 (
                     Locale == other.Locale ||
                     Locale != null &&
                     Locale.Equals(other.Locale)
                 ) &&
                 (
                     Cnf == other.Cnf ||
                     Cnf != null &&
                     Cnf.Equals(other.Cnf)
                 ) &&
                 (
                     Orig == other.Orig ||
                     Orig != null &&
                     Orig.Equals(other.Orig)
                 ) &&
                 (
                     Dest == other.Dest ||
                     Dest != null &&
                     Dest.Equals(other.Dest)
                 ) &&
                 (
                     Mky == other.Mky ||
                     Mky != null &&
                     Mky.Equals(other.Mky)
                 ));
        }
Beispiel #15
0
        public bool Equals([AllowNull] Config other)
        {
            if (other == null)
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return((StaticPlot == other.StaticPlot && StaticPlot != null && other.StaticPlot != null && StaticPlot.Equals(other.StaticPlot)) &&
                   (PlotlyServerUrl == other.PlotlyServerUrl && PlotlyServerUrl != null && other.PlotlyServerUrl != null && PlotlyServerUrl.Equals(other.PlotlyServerUrl)) &&
                   (Editable == other.Editable && Editable != null && other.Editable != null && Editable.Equals(other.Editable)) &&
                   (Edits == other.Edits && Edits != null && other.Edits != null && Edits.Equals(other.Edits)) &&
                   (AutoSizable == other.AutoSizable && AutoSizable != null && other.AutoSizable != null && AutoSizable.Equals(other.AutoSizable)) &&
                   (Responsive == other.Responsive && Responsive != null && other.Responsive != null && Responsive.Equals(other.Responsive)) &&
                   (FillFrame == other.FillFrame && FillFrame != null && other.FillFrame != null && FillFrame.Equals(other.FillFrame)) &&
                   (FrameMargins == other.FrameMargins && FrameMargins != null && other.FrameMargins != null && FrameMargins.Equals(other.FrameMargins)) &&
                   (ScrollZoom == other.ScrollZoom && ScrollZoom != null && other.ScrollZoom != null && ScrollZoom.Equals(other.ScrollZoom)) &&
                   (DoubleClick == other.DoubleClick && DoubleClick != null && other.DoubleClick != null && DoubleClick.Equals(other.DoubleClick)) &&
                   (DoubleClickDelay == other.DoubleClickDelay && DoubleClickDelay != null && other.DoubleClickDelay != null && DoubleClickDelay.Equals(other.DoubleClickDelay)) &&
                   (ShowAxisDragHandles == other.ShowAxisDragHandles && ShowAxisDragHandles != null && other.ShowAxisDragHandles != null && ShowAxisDragHandles.Equals(other.ShowAxisDragHandles)) &&
                   (ShowAxisRangeEntryBoxes == other.ShowAxisRangeEntryBoxes &&
                    ShowAxisRangeEntryBoxes != null &&
                    other.ShowAxisRangeEntryBoxes != null &&
                    ShowAxisRangeEntryBoxes.Equals(other.ShowAxisRangeEntryBoxes)) &&
                   (ShowTips == other.ShowTips && ShowTips != null && other.ShowTips != null && ShowTips.Equals(other.ShowTips)) &&
                   (ShowLink == other.ShowLink && ShowLink != null && other.ShowLink != null && ShowLink.Equals(other.ShowLink)) &&
                   (LinkText == other.LinkText && LinkText != null && other.LinkText != null && LinkText.Equals(other.LinkText)) &&
                   (SendData == other.SendData && SendData != null && other.SendData != null && SendData.Equals(other.SendData)) &&
                   (ShowSources == other.ShowSources && ShowSources != null && other.ShowSources != null && ShowSources.Equals(other.ShowSources)) &&
                   (DisplayModeBar == other.DisplayModeBar && DisplayModeBar != null && other.DisplayModeBar != null && DisplayModeBar.Equals(other.DisplayModeBar)) &&
                   (ShowSendToCloud == other.ShowSendToCloud && ShowSendToCloud != null && other.ShowSendToCloud != null && ShowSendToCloud.Equals(other.ShowSendToCloud)) &&
                   (ShowEditInChartStudio == other.ShowEditInChartStudio &&
                    ShowEditInChartStudio != null &&
                    other.ShowEditInChartStudio != null &&
                    ShowEditInChartStudio.Equals(other.ShowEditInChartStudio)) &&
                   (ModeBarButtonsToRemove == other.ModeBarButtonsToRemove &&
                    ModeBarButtonsToRemove != null &&
                    other.ModeBarButtonsToRemove != null &&
                    ModeBarButtonsToRemove.Equals(other.ModeBarButtonsToRemove)) &&
                   (ModeBarButtonsToAdd == other.ModeBarButtonsToAdd && ModeBarButtonsToAdd != null && other.ModeBarButtonsToAdd != null && ModeBarButtonsToAdd.Equals(other.ModeBarButtonsToAdd)) &&
                   (ModeBarButtons == other.ModeBarButtons && ModeBarButtons != null && other.ModeBarButtons != null && ModeBarButtons.Equals(other.ModeBarButtons)) &&
                   (ToImageButtonOptions == other.ToImageButtonOptions &&
                    ToImageButtonOptions != null &&
                    other.ToImageButtonOptions != null &&
                    ToImageButtonOptions.Equals(other.ToImageButtonOptions)) &&
                   (DisplayLogo == other.DisplayLogo && DisplayLogo != null && other.DisplayLogo != null && DisplayLogo.Equals(other.DisplayLogo)) &&
                   (Watermark == other.Watermark && Watermark != null && other.Watermark != null && Watermark.Equals(other.Watermark)) &&
                   (PlotGlPixelRatio == other.PlotGlPixelRatio && PlotGlPixelRatio != null && other.PlotGlPixelRatio != null && PlotGlPixelRatio.Equals(other.PlotGlPixelRatio)) &&
                   (SetBackground == other.SetBackground && SetBackground != null && other.SetBackground != null && SetBackground.Equals(other.SetBackground)) &&
                   (TopoJsonUrl == other.TopoJsonUrl && TopoJsonUrl != null && other.TopoJsonUrl != null && TopoJsonUrl.Equals(other.TopoJsonUrl)) &&
                   (MapboxAccessToken == other.MapboxAccessToken && MapboxAccessToken != null && other.MapboxAccessToken != null && MapboxAccessToken.Equals(other.MapboxAccessToken)) &&
                   (Logging == other.Logging && Logging != null && other.Logging != null && Logging.Equals(other.Logging)) &&
                   (NotifyOnLogging == other.NotifyOnLogging && NotifyOnLogging != null && other.NotifyOnLogging != null && NotifyOnLogging.Equals(other.NotifyOnLogging)) &&
                   (QueueLength == other.QueueLength && QueueLength != null && other.QueueLength != null && QueueLength.Equals(other.QueueLength)) &&
                   (GlobalTransforms == other.GlobalTransforms && GlobalTransforms != null && other.GlobalTransforms != null && GlobalTransforms.Equals(other.GlobalTransforms)) &&
                   (Locale == other.Locale && Locale != null && other.Locale != null && Locale.Equals(other.Locale)) &&
                   (Locales == other.Locales && Locales != null && other.Locales != null && Locales.Equals(other.Locales)));
        }
        public bool Equals(GroupEditAction input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Name == input.Name ||
                     (Name != null && Name.Equals(input.Name))
                     ) &&
                 (
                     About == input.About ||
                     (About != null && About.Equals(input.About))
                 ) &&
                 (
                     Motto == input.Motto ||
                     (Motto != null && Motto.Equals(input.Motto))
                 ) &&
                 (
                     Theme == input.Theme ||
                     (Theme != null && Theme.Equals(input.Theme))
                 ) &&
                 (
                     AvatarImageIndex == input.AvatarImageIndex ||
                     (AvatarImageIndex.Equals(input.AvatarImageIndex))
                 ) &&
                 (
                     Tags == input.Tags ||
                     (Tags != null && Tags.Equals(input.Tags))
                 ) &&
                 (
                     IsPublic == input.IsPublic ||
                     (IsPublic != null && IsPublic.Equals(input.IsPublic))
                 ) &&
                 (
                     MembershipOption == input.MembershipOption ||
                     (MembershipOption.Equals(input.MembershipOption))
                 ) &&
                 (
                     IsPublicTopicAdminOnly == input.IsPublicTopicAdminOnly ||
                     (IsPublicTopicAdminOnly != null && IsPublicTopicAdminOnly.Equals(input.IsPublicTopicAdminOnly))
                 ) &&
                 (
                     AllowChat == input.AllowChat ||
                     (AllowChat != null && AllowChat.Equals(input.AllowChat))
                 ) &&
                 (
                     ChatSecurity == input.ChatSecurity ||
                     (ChatSecurity.Equals(input.ChatSecurity))
                 ) &&
                 (
                     Callsign == input.Callsign ||
                     (Callsign != null && Callsign.Equals(input.Callsign))
                 ) &&
                 (
                     Locale == input.Locale ||
                     (Locale != null && Locale.Equals(input.Locale))
                 ) &&
                 (
                     Homepage == input.Homepage ||
                     (Homepage.Equals(input.Homepage))
                 ) &&
                 (
                     EnableInvitationMessagingForAdmins == input.EnableInvitationMessagingForAdmins ||
                     (EnableInvitationMessagingForAdmins != null && EnableInvitationMessagingForAdmins.Equals(input.EnableInvitationMessagingForAdmins))
                 ) &&
                 (
                     DefaultPublicity == input.DefaultPublicity ||
                     (DefaultPublicity.Equals(input.DefaultPublicity))
                 ));
        }
Beispiel #17
0
        /// <summary>
        /// Returns true if OrgApacheFelixWebconsoleInternalServletOsgiManagerProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheFelixWebconsoleInternalServletOsgiManagerProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheFelixWebconsoleInternalServletOsgiManagerProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     ManagerRoot == other.ManagerRoot ||
                     ManagerRoot != null &&
                     ManagerRoot.Equals(other.ManagerRoot)
                     ) &&
                 (
                     HttpServiceFilter == other.HttpServiceFilter ||
                     HttpServiceFilter != null &&
                     HttpServiceFilter.Equals(other.HttpServiceFilter)
                 ) &&
                 (
                     DefaultRender == other.DefaultRender ||
                     DefaultRender != null &&
                     DefaultRender.Equals(other.DefaultRender)
                 ) &&
                 (
                     Realm == other.Realm ||
                     Realm != null &&
                     Realm.Equals(other.Realm)
                 ) &&
                 (
                     Username == other.Username ||
                     Username != null &&
                     Username.Equals(other.Username)
                 ) &&
                 (
                     Password == other.Password ||
                     Password != null &&
                     Password.Equals(other.Password)
                 ) &&
                 (
                     Category == other.Category ||
                     Category != null &&
                     Category.Equals(other.Category)
                 ) &&
                 (
                     Locale == other.Locale ||
                     Locale != null &&
                     Locale.Equals(other.Locale)
                 ) &&
                 (
                     Loglevel == other.Loglevel ||
                     Loglevel != null &&
                     Loglevel.Equals(other.Loglevel)
                 ) &&
                 (
                     Plugins == other.Plugins ||
                     Plugins != null &&
                     Plugins.Equals(other.Plugins)
                 ));
        }
Beispiel #18
0
        public bool Equals(FireteamSummary input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     FireteamId == input.FireteamId ||
                     (FireteamId.Equals(input.FireteamId))
                     ) &&
                 (
                     GroupId == input.GroupId ||
                     (GroupId.Equals(input.GroupId))
                 ) &&
                 (
                     Platform == input.Platform ||
                     (Platform != null && Platform.Equals(input.Platform))
                 ) &&
                 (
                     ActivityType == input.ActivityType ||
                     (ActivityType.Equals(input.ActivityType))
                 ) &&
                 (
                     IsImmediate == input.IsImmediate ||
                     (IsImmediate != null && IsImmediate.Equals(input.IsImmediate))
                 ) &&
                 (
                     ScheduledTime == input.ScheduledTime ||
                     (ScheduledTime != null && ScheduledTime.Equals(input.ScheduledTime))
                 ) &&
                 (
                     OwnerMembershipId == input.OwnerMembershipId ||
                     (OwnerMembershipId.Equals(input.OwnerMembershipId))
                 ) &&
                 (
                     PlayerSlotCount == input.PlayerSlotCount ||
                     (PlayerSlotCount.Equals(input.PlayerSlotCount))
                 ) &&
                 (
                     AlternateSlotCount == input.AlternateSlotCount ||
                     (AlternateSlotCount.Equals(input.AlternateSlotCount))
                 ) &&
                 (
                     AvailablePlayerSlotCount == input.AvailablePlayerSlotCount ||
                     (AvailablePlayerSlotCount.Equals(input.AvailablePlayerSlotCount))
                 ) &&
                 (
                     AvailableAlternateSlotCount == input.AvailableAlternateSlotCount ||
                     (AvailableAlternateSlotCount.Equals(input.AvailableAlternateSlotCount))
                 ) &&
                 (
                     Title == input.Title ||
                     (Title != null && Title.Equals(input.Title))
                 ) &&
                 (
                     DateCreated == input.DateCreated ||
                     (DateCreated != null && DateCreated.Equals(input.DateCreated))
                 ) &&
                 (
                     DateModified == input.DateModified ||
                     (DateModified != null && DateModified.Equals(input.DateModified))
                 ) &&
                 (
                     IsPublic == input.IsPublic ||
                     (IsPublic != null && IsPublic.Equals(input.IsPublic))
                 ) &&
                 (
                     Locale == input.Locale ||
                     (Locale != null && Locale.Equals(input.Locale))
                 ) &&
                 (
                     IsValid == input.IsValid ||
                     (IsValid != null && IsValid.Equals(input.IsValid))
                 ) &&
                 (
                     DatePlayerModified == input.DatePlayerModified ||
                     (DatePlayerModified != null && DatePlayerModified.Equals(input.DatePlayerModified))
                 ) &&
                 (
                     TitleBeforeModeration == input.TitleBeforeModeration ||
                     (TitleBeforeModeration != null && TitleBeforeModeration.Equals(input.TitleBeforeModeration))
                 ));
        }
Beispiel #19
0
        /// <summary>
        /// Returns true if Activity instances are equal
        /// </summary>
        /// <param name="other">Instance of Activity to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(Activity other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Type == other.Type ||
                     Type != null &&
                     Type.Equals(other.Type)
                     ) &&
                 (
                     Id == other.Id ||
                     Id != null &&
                     Id.Equals(other.Id)
                 ) &&
                 (
                     Timestamp == other.Timestamp ||
                     Timestamp != null &&
                     Timestamp.Equals(other.Timestamp)
                 ) &&
                 (
                     LocalTimestamp == other.LocalTimestamp ||
                     LocalTimestamp != null &&
                     LocalTimestamp.Equals(other.LocalTimestamp)
                 ) &&
                 (
                     ServiceUrl == other.ServiceUrl ||
                     ServiceUrl != null &&
                     ServiceUrl.Equals(other.ServiceUrl)
                 ) &&
                 (
                     ChannelId == other.ChannelId ||
                     ChannelId != null &&
                     ChannelId.Equals(other.ChannelId)
                 ) &&
                 (
                     From == other.From ||
                     From != null &&
                     From.Equals(other.From)
                 ) &&
                 (
                     Conversation == other.Conversation ||
                     Conversation != null &&
                     Conversation.Equals(other.Conversation)
                 ) &&
                 (
                     Recipient == other.Recipient ||
                     Recipient != null &&
                     Recipient.Equals(other.Recipient)
                 ) &&
                 (
                     TextFormat == other.TextFormat ||
                     TextFormat != null &&
                     TextFormat.Equals(other.TextFormat)
                 ) &&
                 (
                     AttachmentLayout == other.AttachmentLayout ||
                     AttachmentLayout != null &&
                     AttachmentLayout.Equals(other.AttachmentLayout)
                 ) &&
                 (
                     MembersAdded == other.MembersAdded ||
                     MembersAdded != null &&
                     MembersAdded.SequenceEqual(other.MembersAdded)
                 ) &&
                 (
                     MembersRemoved == other.MembersRemoved ||
                     MembersRemoved != null &&
                     MembersRemoved.SequenceEqual(other.MembersRemoved)
                 ) &&
                 (
                     TopicName == other.TopicName ||
                     TopicName != null &&
                     TopicName.Equals(other.TopicName)
                 ) &&
                 (
                     HistoryDisclosed == other.HistoryDisclosed ||
                     HistoryDisclosed != null &&
                     HistoryDisclosed.Equals(other.HistoryDisclosed)
                 ) &&
                 (
                     Locale == other.Locale ||
                     Locale != null &&
                     Locale.Equals(other.Locale)
                 ) &&
                 (
                     Text == other.Text ||
                     Text != null &&
                     Text.Equals(other.Text)
                 ) &&
                 (
                     Speak == other.Speak ||
                     Speak != null &&
                     Speak.Equals(other.Speak)
                 ) &&
                 (
                     InputHint == other.InputHint ||
                     InputHint != null &&
                     InputHint.Equals(other.InputHint)
                 ) &&
                 (
                     Summary == other.Summary ||
                     Summary != null &&
                     Summary.Equals(other.Summary)
                 ) &&
                 (
                     SuggestedActions == other.SuggestedActions ||
                     SuggestedActions != null &&
                     SuggestedActions.Equals(other.SuggestedActions)
                 ) &&
                 (
                     Attachments == other.Attachments ||
                     Attachments != null &&
                     Attachments.SequenceEqual(other.Attachments)
                 ) &&
                 (
                     Entities == other.Entities ||
                     Entities != null &&
                     Entities.SequenceEqual(other.Entities)
                 ) &&
                 (
                     ChannelData == other.ChannelData ||
                     ChannelData != null &&
                     ChannelData.Equals(other.ChannelData)
                 ) &&
                 (
                     Action == other.Action ||
                     Action != null &&
                     Action.Equals(other.Action)
                 ) &&
                 (
                     ReplyToId == other.ReplyToId ||
                     ReplyToId != null &&
                     ReplyToId.Equals(other.ReplyToId)
                 ) &&
                 (
                     Value == other.Value ||
                     Value != null &&
                     Value.Equals(other.Value)
                 ) &&
                 (
                     Name == other.Name ||
                     Name != null &&
                     Name.Equals(other.Name)
                 ) &&
                 (
                     RelatesTo == other.RelatesTo ||
                     RelatesTo != null &&
                     RelatesTo.Equals(other.RelatesTo)
                 ) &&
                 (
                     Code == other.Code ||
                     Code != null &&
                     Code.Equals(other.Code)
                 ));
        }
        /// <summary>
        /// Override equals.
        /// </summary>
        public override bool Equals(Object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            if (this == obj)
            {
                return(true);
            }
            if (this.GetType() != obj.GetType())
            {
                return(false);
            }
            DecimalFormatSymbols other = (DecimalFormatSymbols)obj;

            return(ZeroDigit_Renamed == other.ZeroDigit_Renamed && GroupingSeparator_Renamed == other.GroupingSeparator_Renamed && DecimalSeparator_Renamed == other.DecimalSeparator_Renamed && Percent_Renamed == other.Percent_Renamed && PerMill_Renamed == other.PerMill_Renamed && Digit_Renamed == other.Digit_Renamed && MinusSign_Renamed == other.MinusSign_Renamed && PatternSeparator_Renamed == other.PatternSeparator_Renamed && Infinity_Renamed.Equals(other.Infinity_Renamed) && NaN_Renamed.Equals(other.NaN_Renamed) && CurrencySymbol_Renamed.Equals(other.CurrencySymbol_Renamed) && IntlCurrencySymbol.Equals(other.IntlCurrencySymbol) && Currency_Renamed == other.Currency_Renamed && MonetarySeparator == other.MonetarySeparator && ExponentialSeparator.Equals(other.ExponentialSeparator) && Locale.Equals(other.Locale));
        }
Beispiel #21
0
        public bool Equals(GroupV2 input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     GroupId == input.GroupId ||
                     (GroupId.Equals(input.GroupId))
                     ) &&
                 (
                     Name == input.Name ||
                     (Name != null && Name.Equals(input.Name))
                 ) &&
                 (
                     GroupType == input.GroupType ||
                     (GroupType != null && GroupType.Equals(input.GroupType))
                 ) &&
                 (
                     MembershipIdCreated == input.MembershipIdCreated ||
                     (MembershipIdCreated.Equals(input.MembershipIdCreated))
                 ) &&
                 (
                     CreationDate == input.CreationDate ||
                     (CreationDate != null && CreationDate.Equals(input.CreationDate))
                 ) &&
                 (
                     ModificationDate == input.ModificationDate ||
                     (ModificationDate != null && ModificationDate.Equals(input.ModificationDate))
                 ) &&
                 (
                     About == input.About ||
                     (About != null && About.Equals(input.About))
                 ) &&
                 (
                     Tags == input.Tags ||
                     (Tags != null && Tags.SequenceEqual(input.Tags))
                 ) &&
                 (
                     MemberCount == input.MemberCount ||
                     (MemberCount.Equals(input.MemberCount))
                 ) &&
                 (
                     IsPublic == input.IsPublic ||
                     (IsPublic != null && IsPublic.Equals(input.IsPublic))
                 ) &&
                 (
                     IsPublicTopicAdminOnly == input.IsPublicTopicAdminOnly ||
                     (IsPublicTopicAdminOnly != null && IsPublicTopicAdminOnly.Equals(input.IsPublicTopicAdminOnly))
                 ) &&
                 (
                     Motto == input.Motto ||
                     (Motto != null && Motto.Equals(input.Motto))
                 ) &&
                 (
                     AllowChat == input.AllowChat ||
                     (AllowChat != null && AllowChat.Equals(input.AllowChat))
                 ) &&
                 (
                     IsDefaultPostPublic == input.IsDefaultPostPublic ||
                     (IsDefaultPostPublic != null && IsDefaultPostPublic.Equals(input.IsDefaultPostPublic))
                 ) &&
                 (
                     ChatSecurity == input.ChatSecurity ||
                     (ChatSecurity != null && ChatSecurity.Equals(input.ChatSecurity))
                 ) &&
                 (
                     Locale == input.Locale ||
                     (Locale != null && Locale.Equals(input.Locale))
                 ) &&
                 (
                     AvatarImageIndex == input.AvatarImageIndex ||
                     (AvatarImageIndex.Equals(input.AvatarImageIndex))
                 ) &&
                 (
                     Homepage == input.Homepage ||
                     (Homepage != null && Homepage.Equals(input.Homepage))
                 ) &&
                 (
                     MembershipOption == input.MembershipOption ||
                     (MembershipOption != null && MembershipOption.Equals(input.MembershipOption))
                 ) &&
                 (
                     DefaultPublicity == input.DefaultPublicity ||
                     (DefaultPublicity != null && DefaultPublicity.Equals(input.DefaultPublicity))
                 ) &&
                 (
                     Theme == input.Theme ||
                     (Theme != null && Theme.Equals(input.Theme))
                 ) &&
                 (
                     BannerPath == input.BannerPath ||
                     (BannerPath != null && BannerPath.Equals(input.BannerPath))
                 ) &&
                 (
                     AvatarPath == input.AvatarPath ||
                     (AvatarPath != null && AvatarPath.Equals(input.AvatarPath))
                 ) &&
                 (
                     ConversationId == input.ConversationId ||
                     (ConversationId.Equals(input.ConversationId))
                 ) &&
                 (
                     EnableInvitationMessagingForAdmins == input.EnableInvitationMessagingForAdmins ||
                     (EnableInvitationMessagingForAdmins != null && EnableInvitationMessagingForAdmins.Equals(input.EnableInvitationMessagingForAdmins))
                 ) &&
                 (
                     BanExpireDate == input.BanExpireDate ||
                     (BanExpireDate != null && BanExpireDate.Equals(input.BanExpireDate))
                 ) &&
                 (
                     Features == input.Features ||
                     (Features != null && Features.Equals(input.Features))
                 ) &&
                 (
                     ClanInfo == input.ClanInfo ||
                     (ClanInfo != null && ClanInfo.Equals(input.ClanInfo))
                 ));
        }