bool.Equals(object)

Here are the examples of the csharp api bool.Equals(object) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1236 Examples 7

19 View Source File : WebBrowserBehavior.cs
License : MIT License
Project Creator : Actipro

private static void OnAreScriptErrorsDisabledPropertyValueChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) {
			var browser = sender as WebBrowser;
			if (browser != null) {
				var oldContext = GetWebBrowserBehaviorContext(browser);
				if (oldContext != null)
					SetWebBrowserBehaviorContext(browser, null);

				if (true.Equals(e.NewValue))
					SetWebBrowserBehaviorContext(browser, new BehaviorContext(browser));
			}
		}

19 View Source File : CreatePaymentLinkRequest.cs
License : MIT License
Project Creator : Adyen

public bool Equals(CreatePaymentLinkRequest input)
        {
            if (input == null)
                return false;

            return
                (
                    this.AllowedPaymentMethods == input.AllowedPaymentMethods ||
                    this.AllowedPaymentMethods != null &&
                    input.AllowedPaymentMethods != null &&
                    this.AllowedPaymentMethods.SequenceEqual(input.AllowedPaymentMethods)
                ) &&
                (
                    this.Amount == input.Amount ||
                    this.Amount != null &&
                    this.Amount.Equals(input.Amount)
                ) &&
                (
                    this.ApplicationInfo == input.ApplicationInfo ||
                    this.ApplicationInfo != null &&
                    this.ApplicationInfo.Equals(input.ApplicationInfo)
                ) &&
                (
                    this.BillingAddress == input.BillingAddress ||
                    this.BillingAddress != null &&
                    this.BillingAddress.Equals(input.BillingAddress)
                ) &&
                (
                    this.BlockedPaymentMethods == input.BlockedPaymentMethods ||
                    this.BlockedPaymentMethods != null &&
                    input.BlockedPaymentMethods != null &&
                    this.BlockedPaymentMethods.SequenceEqual(input.BlockedPaymentMethods)
                ) &&
                (
                    this.CountryCode == input.CountryCode ||
                    this.CountryCode != null &&
                    this.CountryCode.Equals(input.CountryCode)
                ) &&
                (
                    this.DeliverAt == input.DeliverAt ||
                    this.DeliverAt != null &&
                    this.DeliverAt.Equals(input.DeliverAt)
                ) &&
                (
                    this.DeliveryAddress == input.DeliveryAddress ||
                    this.DeliveryAddress != null &&
                    this.DeliveryAddress.Equals(input.DeliveryAddress)
                ) &&
                (
                    this.Description == input.Description ||
                    this.Description != null &&
                    this.Description.Equals(input.Description)
                ) &&
                (
                    this.ExpiresAt == input.ExpiresAt ||
                    this.ExpiresAt != null &&
                    this.ExpiresAt.Equals(input.ExpiresAt)
                ) &&
                (
                    this.InstallmentOptions == input.InstallmentOptions ||
                    this.InstallmentOptions != null &&
                    input.InstallmentOptions != null &&
                    this.InstallmentOptions.SequenceEqual(input.InstallmentOptions)
                ) &&
                (
                    this.LineItems == input.LineItems ||
                    this.LineItems != null &&
                    input.LineItems != null &&
                    this.LineItems.SequenceEqual(input.LineItems)
                ) &&
                (
                    this.MerchantAccount == input.MerchantAccount ||
                    this.MerchantAccount != null &&
                    this.MerchantAccount.Equals(input.MerchantAccount)
                ) &&
                (
                    this.MerchantOrderReference == input.MerchantOrderReference ||
                    this.MerchantOrderReference != null &&
                    this.MerchantOrderReference.Equals(input.MerchantOrderReference)
                ) &&
                (
                    this.Metadata == input.Metadata ||
                    this.Metadata != null &&
                    input.Metadata != null &&
                    this.Metadata.SequenceEqual(input.Metadata)
                ) &&
                (
                    this.RecurringProcessingModel == input.RecurringProcessingModel ||
                    this.RecurringProcessingModel != null &&
                    this.RecurringProcessingModel.Equals(input.RecurringProcessingModel)
                ) &&
                (
                    this.Reference == input.Reference ||
                    this.Reference != null &&
                    this.Reference.Equals(input.Reference)
                ) &&
                (
                    this.ReturnUrl == input.ReturnUrl ||
                    this.ReturnUrl != null &&
                    this.ReturnUrl.Equals(input.ReturnUrl)
                ) &&
                (
                    this.Reusable == input.Reusable ||
                    this.Reusable != null &&
                    this.Reusable.Equals(input.Reusable)
                ) &&
                (
                    this.RiskData == input.RiskData ||
                    this.RiskData != null &&
                    this.RiskData.Equals(input.RiskData)
                ) &&
                (
                    this.ShopperEmail == input.ShopperEmail ||
                    this.ShopperEmail != null &&
                    this.ShopperEmail.Equals(input.ShopperEmail)
                ) &&
                (
                    this.ShopperLocale == input.ShopperLocale ||
                    this.ShopperLocale != null &&
                    this.ShopperLocale.Equals(input.ShopperLocale)
                ) &&
                (
                    this.ShopperName == input.ShopperName ||
                    this.ShopperName != null &&
                    this.ShopperName.Equals(input.ShopperName)
                ) &&
                (
                    this.ShopperReference == input.ShopperReference ||
                    this.ShopperReference != null &&
                    this.ShopperReference.Equals(input.ShopperReference)
                ) &&
                (
                    this.Splits == input.Splits ||
                    this.Splits != null &&
                    input.Splits != null &&
                    this.Splits.SequenceEqual(input.Splits)
                ) &&
                (
                    this.Store == input.Store ||
                    this.Store != null &&
                    this.Store.Equals(input.Store)
                ) &&
                (
                    this.StorePaymentMethod == input.StorePaymentMethod ||
                    this.StorePaymentMethod != null &&
                    this.StorePaymentMethod.Equals(input.StorePaymentMethod)
                );
        }

19 View Source File : PaymentLinkResource.cs
License : MIT License
Project Creator : Adyen

public bool Equals(PaymentLinkResource input)
        {
            if (input == null)
                return false;

            return
                (
                    this.AllowedPaymentMethods == input.AllowedPaymentMethods ||
                    this.AllowedPaymentMethods != null &&
                    input.AllowedPaymentMethods != null &&
                    this.AllowedPaymentMethods.SequenceEqual(input.AllowedPaymentMethods)
                ) &&
                (
                    this.Amount == input.Amount ||
                    this.Amount != null &&
                    this.Amount.Equals(input.Amount)
                ) &&
                (
                    this.ApplicationInfo == input.ApplicationInfo ||
                    this.ApplicationInfo != null &&
                    this.ApplicationInfo.Equals(input.ApplicationInfo)
                ) &&
                (
                    this.BillingAddress == input.BillingAddress ||
                    this.BillingAddress != null &&
                    this.BillingAddress.Equals(input.BillingAddress)
                ) &&
                (
                    this.BlockedPaymentMethods == input.BlockedPaymentMethods ||
                    this.BlockedPaymentMethods != null &&
                    input.BlockedPaymentMethods != null &&
                    this.BlockedPaymentMethods.SequenceEqual(input.BlockedPaymentMethods)
                ) &&
                (
                    this.CountryCode == input.CountryCode ||
                    this.CountryCode != null &&
                    this.CountryCode.Equals(input.CountryCode)
                ) &&
                (
                    this.DeliverAt == input.DeliverAt ||
                    this.DeliverAt != null &&
                    this.DeliverAt.Equals(input.DeliverAt)
                ) &&
                (
                    this.DeliveryAddress == input.DeliveryAddress ||
                    this.DeliveryAddress != null &&
                    this.DeliveryAddress.Equals(input.DeliveryAddress)
                ) &&
                (
                    this.Description == input.Description ||
                    this.Description != null &&
                    this.Description.Equals(input.Description)
                ) &&
                (
                    this.ExpiresAt == input.ExpiresAt ||
                    this.ExpiresAt != null &&
                    this.ExpiresAt.Equals(input.ExpiresAt)
                ) &&
                (
                    this.Id == input.Id ||
                    this.Id != null &&
                    this.Id.Equals(input.Id)
                ) &&
                (
                    this.LineItems == input.LineItems ||
                    this.LineItems != null &&
                    input.LineItems != null &&
                    this.LineItems.SequenceEqual(input.LineItems)
                ) &&
                (
                    this.MerchantAccount == input.MerchantAccount ||
                    this.MerchantAccount != null &&
                    this.MerchantAccount.Equals(input.MerchantAccount)
                ) &&
                (
                    this.MerchantOrderReference == input.MerchantOrderReference ||
                    this.MerchantOrderReference != null &&
                    this.MerchantOrderReference.Equals(input.MerchantOrderReference)
                ) &&
                (
                    this.RecurringProcessingModel == input.RecurringProcessingModel ||
                    this.RecurringProcessingModel != null &&
                    this.RecurringProcessingModel.Equals(input.RecurringProcessingModel)
                ) &&
                (
                    this.Reference == input.Reference ||
                    this.Reference != null &&
                    this.Reference.Equals(input.Reference)
                ) &&
                (
                    this.ReturnUrl == input.ReturnUrl ||
                    this.ReturnUrl != null &&
                    this.ReturnUrl.Equals(input.ReturnUrl)
                ) &&
                (
                    this.Reusable == input.Reusable ||
                    this.Reusable != null &&
                    this.Reusable.Equals(input.Reusable)
                ) &&
                (
                    this.RiskData == input.RiskData ||
                    this.RiskData != null &&
                    this.RiskData.Equals(input.RiskData)
                ) &&
                (
                    this.ShopperEmail == input.ShopperEmail ||
                    this.ShopperEmail != null &&
                    this.ShopperEmail.Equals(input.ShopperEmail)
                ) &&
                (
                    this.ShopperLocale == input.ShopperLocale ||
                    this.ShopperLocale != null &&
                    this.ShopperLocale.Equals(input.ShopperLocale)
                ) &&
                (
                    this.ShopperName == input.ShopperName ||
                    this.ShopperName != null &&
                    this.ShopperName.Equals(input.ShopperName)
                ) &&
                (
                    this.ShopperReference == input.ShopperReference ||
                    this.ShopperReference != null &&
                    this.ShopperReference.Equals(input.ShopperReference)
                ) &&
                (
                    this.Splits == input.Splits ||
                    this.Splits != null &&
                    input.Splits != null &&
                    this.Splits.SequenceEqual(input.Splits)
                ) &&
                (
                    this.Status == input.Status ||
                    this.Status != null &&
                    this.Status.Equals(input.Status)
                ) &&
                (
                    this.Store == input.Store ||
                    this.Store != null &&
                    this.Store.Equals(input.Store)
                ) &&
                (
                    this.StorePaymentMethod == input.StorePaymentMethod ||
                    this.StorePaymentMethod != null &&
                    this.StorePaymentMethod.Equals(input.StorePaymentMethod)
                ) &&
                (
                    this.Url == input.Url ||
                    this.Url != null &&
                    this.Url.Equals(input.Url)
                );
        }

19 View Source File : PaymentMethodsRequest.cs
License : MIT License
Project Creator : Adyen

public bool Equals(PaymentMethodsRequest input)
        {
            if (input == null)
                return false;

            return
                (
                    this.AdditionalData == input.AdditionalData ||
                    this.AdditionalData != null &&
                    this.AdditionalData.Equals(input.AdditionalData)
                ) &&
                (
                    this.AllowedPaymentMethods == input.AllowedPaymentMethods ||
                    this.AllowedPaymentMethods != null &&
                    input.AllowedPaymentMethods != null &&
                    this.AllowedPaymentMethods.SequenceEqual(input.AllowedPaymentMethods)
                ) &&
                (
                    this.Amount == input.Amount ||
                    this.Amount != null &&
                    this.Amount.Equals(input.Amount)
                ) &&
                (
                    this.BlockedPaymentMethods == input.BlockedPaymentMethods ||
                    this.BlockedPaymentMethods != null &&
                    input.BlockedPaymentMethods != null &&
                    this.BlockedPaymentMethods.SequenceEqual(input.BlockedPaymentMethods)
                ) &&
                (
                    this.Channel == input.Channel ||
                    this.Channel != null &&
                    this.Channel.Equals(input.Channel)
                ) &&
                (
                    this.CountryCode == input.CountryCode ||
                    this.CountryCode != null &&
                    this.CountryCode.Equals(input.CountryCode)
                ) &&
                (
                    this.MerchantAccount == input.MerchantAccount ||
                    this.MerchantAccount != null &&
                    this.MerchantAccount.Equals(input.MerchantAccount)
                ) &&
                (
                    this.Order == input.Order ||
                    this.Order != null &&
                    this.Order.Equals(input.Order)
                ) &&
                (
                    this.ShopperLocale == input.ShopperLocale ||
                    this.ShopperLocale != null &&
                    this.ShopperLocale.Equals(input.ShopperLocale)
                ) &&
                (
                    this.ShopperReference == input.ShopperReference ||
                    this.ShopperReference != null &&
                    this.ShopperReference.Equals(input.ShopperReference)
                ) &&
                (
                    this.SplitCardFundingSources == input.SplitCardFundingSources ||
                    this.SplitCardFundingSources != null &&
                    this.SplitCardFundingSources.Equals(input.SplitCardFundingSources)
                ) &&
                (
                    this.Store == input.Store ||
                    this.Store != null &&
                    this.Store.Equals(input.Store)
                );
        }

19 View Source File : AccountInfo.cs
License : MIT License
Project Creator : Adyen

public bool Equals(AccountInfo input)
        {
            if (input == null)
                return false;

            return
                (
                    this.AccountAgeIndicator == input.AccountAgeIndicator ||
                    this.AccountAgeIndicator != null &&
                    this.AccountAgeIndicator.Equals(input.AccountAgeIndicator)
                ) &&
                (
                    this.AccountChangeDate == input.AccountChangeDate ||
                    this.AccountChangeDate != null &&
                    this.AccountChangeDate.Equals(input.AccountChangeDate)
                ) &&
                (
                    this.AccountChangeIndicator == input.AccountChangeIndicator ||
                    this.AccountChangeIndicator != null &&
                    this.AccountChangeIndicator.Equals(input.AccountChangeIndicator)
                ) &&
                (
                    this.AccountCreationDate == input.AccountCreationDate ||
                    this.AccountCreationDate != null &&
                    this.AccountCreationDate.Equals(input.AccountCreationDate)
                ) &&
                (
                    this.AccountType == input.AccountType ||
                    this.AccountType != null &&
                    this.AccountType.Equals(input.AccountType)
                ) &&
                (
                    this.AddCardAttemptsDay == input.AddCardAttemptsDay ||
                    this.AddCardAttemptsDay != null &&
                    this.AddCardAttemptsDay.Equals(input.AddCardAttemptsDay)
                ) &&
                (
                    this.DeliveryAddressUsageDate == input.DeliveryAddressUsageDate ||
                    this.DeliveryAddressUsageDate != null &&
                    this.DeliveryAddressUsageDate.Equals(input.DeliveryAddressUsageDate)
                ) &&
                (
                    this.DeliveryAddressUsageIndicator == input.DeliveryAddressUsageIndicator ||
                    this.DeliveryAddressUsageIndicator != null &&
                    this.DeliveryAddressUsageIndicator.Equals(input.DeliveryAddressUsageIndicator)
                ) &&
                (
                    this.HomePhone == input.HomePhone ||
                    this.HomePhone != null &&
                    this.HomePhone.Equals(input.HomePhone)
                ) &&
                (
                    this.MobilePhone == input.MobilePhone ||
                    this.MobilePhone != null &&
                    this.MobilePhone.Equals(input.MobilePhone)
                ) &&
                (
                    this.PreplacedwordChangeDate == input.PreplacedwordChangeDate ||
                    this.PreplacedwordChangeDate != null &&
                    this.PreplacedwordChangeDate.Equals(input.PreplacedwordChangeDate)
                ) &&
                (
                    this.PreplacedwordChangeIndicator == input.PreplacedwordChangeIndicator ||
                    this.PreplacedwordChangeIndicator != null &&
                    this.PreplacedwordChangeIndicator.Equals(input.PreplacedwordChangeIndicator)
                ) &&
                (
                    this.PastTransactionsDay == input.PastTransactionsDay ||
                    this.PastTransactionsDay != null &&
                    this.PastTransactionsDay.Equals(input.PastTransactionsDay)
                ) &&
                (
                    this.PastTransactionsYear == input.PastTransactionsYear ||
                    this.PastTransactionsYear != null &&
                    this.PastTransactionsYear.Equals(input.PastTransactionsYear)
                ) &&
                (
                    this.PaymentAccountAge == input.PaymentAccountAge ||
                    this.PaymentAccountAge != null &&
                    this.PaymentAccountAge.Equals(input.PaymentAccountAge)
                ) &&
                (
                    this.PaymentAccountIndicator == input.PaymentAccountIndicator ||
                    this.PaymentAccountIndicator != null &&
                    this.PaymentAccountIndicator.Equals(input.PaymentAccountIndicator)
                ) &&
                (
                    this.PurchasesLast6Months == input.PurchasesLast6Months ||
                    this.PurchasesLast6Months != null &&
                    this.PurchasesLast6Months.Equals(input.PurchasesLast6Months)
                ) &&
                (
                    this.SuspiciousActivity == input.SuspiciousActivity ||
                    this.SuspiciousActivity != null &&
                    this.SuspiciousActivity.Equals(input.SuspiciousActivity)
                ) &&
                (
                    this.WorkPhone == input.WorkPhone ||
                    this.WorkPhone != null &&
                    this.WorkPhone.Equals(input.WorkPhone)
                );
        }

19 View Source File : Avs.cs
License : MIT License
Project Creator : Adyen

public bool Equals(Avs input)
        {
            if (input == null)
                return false;

            return
                (
                    this.AddressEditable == input.AddressEditable ||
                    this.AddressEditable != null &&
                    this.AddressEditable.Equals(input.AddressEditable)
                ) &&
                (
                    this.Enabled == input.Enabled ||
                    this.Enabled != null &&
                    this.Enabled.Equals(input.Enabled)
                );
        }

19 View Source File : BrowserInfo.cs
License : MIT License
Project Creator : Adyen

public bool Equals(BrowserInfo input)
        {
            if (input == null)
                return false;

            return
                (
                    this.AcceptHeader == input.AcceptHeader ||
                    this.AcceptHeader != null &&
                    this.AcceptHeader.Equals(input.AcceptHeader)
                ) &&
                (
                    this.ColorDepth == input.ColorDepth ||
                    this.ColorDepth != null &&
                    this.ColorDepth.Equals(input.ColorDepth)
                ) &&
                (
                    this.JavaEnabled == input.JavaEnabled ||
                    this.JavaEnabled != null &&
                    this.JavaEnabled.Equals(input.JavaEnabled)
                ) &&
                (
                    this.JavaScriptEnabled == input.JavaScriptEnabled ||
                    this.JavaScriptEnabled != null &&
                    this.JavaScriptEnabled.Equals(input.JavaScriptEnabled)
                ) &&
                (
                    this.Language == input.Language ||
                    this.Language != null &&
                    this.Language.Equals(input.Language)
                ) &&
                (
                    this.ScreenHeight == input.ScreenHeight ||
                    this.ScreenHeight != null &&
                    this.ScreenHeight.Equals(input.ScreenHeight)
                ) &&
                (
                    this.ScreenWidth == input.ScreenWidth ||
                    this.ScreenWidth != null &&
                    this.ScreenWidth.Equals(input.ScreenWidth)
                ) &&
                (
                    this.TimeZoneOffset == input.TimeZoneOffset ||
                    this.TimeZoneOffset != null &&
                    this.TimeZoneOffset.Equals(input.TimeZoneOffset)
                ) &&
                (
                    this.UserAgent == input.UserAgent ||
                    this.UserAgent != null &&
                    this.UserAgent.Equals(input.UserAgent)
                );
        }

19 View Source File : MerchantRiskIndicator.cs
License : MIT License
Project Creator : Adyen

public bool Equals(MerchantRiskIndicator input)
        {
            if (input == null)
                return false;

            return
                (
                    this.AddressMatch == input.AddressMatch ||
                    this.AddressMatch != null &&
                    this.AddressMatch.Equals(input.AddressMatch)
                ) &&
                (
                    this.DeliveryAddressIndicator == input.DeliveryAddressIndicator ||
                    this.DeliveryAddressIndicator != null &&
                    this.DeliveryAddressIndicator.Equals(input.DeliveryAddressIndicator)
                ) &&
                (
                    this.DeliveryEmail == input.DeliveryEmail ||
                    this.DeliveryEmail != null &&
                    this.DeliveryEmail.Equals(input.DeliveryEmail)
                ) &&
                (
                    this.DeliveryTimeframe == input.DeliveryTimeframe ||
                    this.DeliveryTimeframe != null &&
                    this.DeliveryTimeframe.Equals(input.DeliveryTimeframe)
                ) &&
                (
                    this.GiftCardAmount == input.GiftCardAmount ||
                    this.GiftCardAmount != null &&
                    this.GiftCardAmount.Equals(input.GiftCardAmount)
                ) &&
                (
                    this.GiftCardCount == input.GiftCardCount ||
                    this.GiftCardCount != null &&
                    this.GiftCardCount.Equals(input.GiftCardCount)
                ) &&
                (
                    this.PreOrderDate == input.PreOrderDate ||
                    this.PreOrderDate != null &&
                    this.PreOrderDate.Equals(input.PreOrderDate)
                ) &&
                (
                    this.PreOrderPurchase == input.PreOrderPurchase ||
                    this.PreOrderPurchase != null &&
                    this.PreOrderPurchase.Equals(input.PreOrderPurchase)
                ) &&
                (
                    this.ReorderItems == input.ReorderItems ||
                    this.ReorderItems != null &&
                    this.ReorderItems.Equals(input.ReorderItems)
                );
        }

19 View Source File : InputDetail.cs
License : MIT License
Project Creator : Adyen

public bool Equals(InputDetail input)
        {
            if (input == null)
                return false;

            return
                (
                    this.Configuration == input.Configuration ||
                    this.Configuration != null &&
                    input.Configuration != null &&
                    this.Configuration.SequenceEqual(input.Configuration)
                ) &&
                (
                    this.Details == input.Details ||
                    this.Details != null &&
                    input.Details != null &&
                    this.Details.SequenceEqual(input.Details)
                ) &&
                (
                    this.InputDetails == input.InputDetails ||
                    this.InputDetails != null &&
                    input.InputDetails != null &&
                    this.InputDetails.SequenceEqual(input.InputDetails)
                ) &&
                (
                    this.ItemSearchUrl == input.ItemSearchUrl ||
                    this.ItemSearchUrl != null &&
                    this.ItemSearchUrl.Equals(input.ItemSearchUrl)
                ) &&
                (
                    this.Items == input.Items ||
                    this.Items != null &&
                    input.Items != null &&
                    this.Items.SequenceEqual(input.Items)
                ) &&
                (
                    this.Key == input.Key ||
                    this.Key != null &&
                    this.Key.Equals(input.Key)
                ) &&
                (
                    this.Optional == input.Optional ||
                    this.Optional != null &&
                    this.Optional.Equals(input.Optional)
                ) &&
                (
                    this.Type == input.Type ||
                    this.Type != null &&
                    this.Type.Equals(input.Type)
                ) &&
                (
                    this.Value == input.Value ||
                    this.Value != null &&
                    this.Value.Equals(input.Value)
                );
        }

19 View Source File : PaymentsDetailsRequest.cs
License : MIT License
Project Creator : Adyen

public bool Equals(PaymentsDetailsRequest input)
        {
            if (input == null)
                return false;

            return
                (
                    this.Details == input.Details ||
                    this.Details != null &&
                    this.Details.Equals(input.Details)
                ) &&
                (
                    this.PaymentData == input.PaymentData ||
                    this.PaymentData != null &&
                    this.PaymentData.Equals(input.PaymentData)
                ) &&
                (
                    this.ThreeDSAuthenticationOnly == input.ThreeDSAuthenticationOnly ||
                    this.ThreeDSAuthenticationOnly != null &&
                    this.ThreeDSAuthenticationOnly.Equals(input.ThreeDSAuthenticationOnly)
                );
        }

19 View Source File : CreateAccountHolderRequest.cs
License : MIT License
Project Creator : Adyen

public bool Equals(CreateAccountHolderRequest input)
        {
            if (input == null)
                return false;

            return 
                (
                    this.AccountHolderCode == input.AccountHolderCode ||
                    (this.AccountHolderCode != null &&
                    this.AccountHolderCode.Equals(input.AccountHolderCode))
                ) && 
                (
                    this.AccountHolderDetails == input.AccountHolderDetails ||
                    (this.AccountHolderDetails != null &&
                    this.AccountHolderDetails.Equals(input.AccountHolderDetails))
                ) && 
                (
                    this.CreateDefaultAccount == input.CreateDefaultAccount ||
                    (this.CreateDefaultAccount != null &&
                    this.CreateDefaultAccount.Equals(input.CreateDefaultAccount))
                ) && 
                (
                    this.Description == input.Description ||
                    (this.Description != null &&
                    this.Description.Equals(input.Description))
                ) && 
                (
                    this.LegalEnreplacedy == input.LegalEnreplacedy ||
                    this.LegalEnreplacedy.Equals(input.LegalEnreplacedy)
                ) && 
                (
                    this.PrimaryCurrency == input.PrimaryCurrency ||
                    (this.PrimaryCurrency != null &&
                    this.PrimaryCurrency.Equals(input.PrimaryCurrency))
                ) && 
                (
                    this.ProcessingTier == input.ProcessingTier ||
                    (this.ProcessingTier != null &&
                    this.ProcessingTier.Equals(input.ProcessingTier))
                );
        }

19 View Source File : UpdateAccountHolderStateRequest.cs
License : MIT License
Project Creator : Adyen

public bool Equals(UpdateAccountHolderStateRequest input)
        {
            if (input == null)
                return false;

            return 
                (
                    this.AccountHolderCode == input.AccountHolderCode ||
                    (this.AccountHolderCode != null &&
                    this.AccountHolderCode.Equals(input.AccountHolderCode))
                ) && 
                (
                    this.Disable == input.Disable ||
                    (this.Disable != null &&
                    this.Disable.Equals(input.Disable))
                ) && 
                (
                    this.Reason == input.Reason ||
                    (this.Reason != null &&
                    this.Reason.Equals(input.Reason))
                ) && 
                (
                    this.StateType == input.StateType ||
                    this.StateType.Equals(input.StateType)
                );
        }

19 View Source File : SubInputDetail.cs
License : MIT License
Project Creator : Adyen

public bool Equals(SubInputDetail input)
        {
            if (input == null)
                return false;

            return
                (
                    this.Configuration == input.Configuration ||
                    this.Configuration != null &&
                    input.Configuration != null &&
                    this.Configuration.SequenceEqual(input.Configuration)
                ) &&
                (
                    this.Items == input.Items ||
                    this.Items != null &&
                    input.Items != null &&
                    this.Items.SequenceEqual(input.Items)
                ) &&
                (
                    this.Key == input.Key ||
                    this.Key != null &&
                    this.Key.Equals(input.Key)
                ) &&
                (
                    this.Optional == input.Optional ||
                    this.Optional != null &&
                    this.Optional.Equals(input.Optional)
                ) &&
                (
                    this.Type == input.Type ||
                    this.Type != null &&
                    this.Type.Equals(input.Type)
                ) &&
                (
                    this.Value == input.Value ||
                    this.Value != null &&
                    this.Value.Equals(input.Value)
                );
        }

19 View Source File : ThreeDS2RequestData.cs
License : MIT License
Project Creator : Adyen

public bool Equals(ThreeDS2RequestData input)
        {
            if (input == null)
                return false;

            return
                (
                    this.AcquirerBIN == input.AcquirerBIN ||
                    this.AcquirerBIN != null &&
                    this.AcquirerBIN.Equals(input.AcquirerBIN)
                ) &&
                (
                    this.AcquirerMerchantID == input.AcquirerMerchantID ||
                    this.AcquirerMerchantID != null &&
                    this.AcquirerMerchantID.Equals(input.AcquirerMerchantID)
                ) &&
                (
                    this.AuthenticationOnly == input.AuthenticationOnly ||
                    this.AuthenticationOnly != null &&
                    this.AuthenticationOnly.Equals(input.AuthenticationOnly)
                ) &&
                (
                    this.ChallengeIndicator == input.ChallengeIndicator ||
                    this.ChallengeIndicator != null &&
                    this.ChallengeIndicator.Equals(input.ChallengeIndicator)
                ) &&
                (
                    this.DeviceChannel == input.DeviceChannel ||
                    this.DeviceChannel != null &&
                    this.DeviceChannel.Equals(input.DeviceChannel)
                ) &&
                (
                    this.DeviceRenderOptions == input.DeviceRenderOptions ||
                    this.DeviceRenderOptions != null &&
                    this.DeviceRenderOptions.Equals(input.DeviceRenderOptions)
                ) &&
                (
                    this.Mcc == input.Mcc ||
                    this.Mcc != null &&
                    this.Mcc.Equals(input.Mcc)
                ) &&
                (
                    this.MerchantName == input.MerchantName ||
                    this.MerchantName != null &&
                    this.MerchantName.Equals(input.MerchantName)
                ) &&
                (
                    this.MessageVersion == input.MessageVersion ||
                    this.MessageVersion != null &&
                    this.MessageVersion.Equals(input.MessageVersion)
                ) &&
                (
                    this.NotificationURL == input.NotificationURL ||
                    this.NotificationURL != null &&
                    this.NotificationURL.Equals(input.NotificationURL)
                ) &&
                (
                    this.SdkAppID == input.SdkAppID ||
                    this.SdkAppID != null &&
                    this.SdkAppID.Equals(input.SdkAppID)
                ) &&
                (
                    this.SdkEncData == input.SdkEncData ||
                    this.SdkEncData != null &&
                    this.SdkEncData.Equals(input.SdkEncData)
                ) &&
                (
                    this.SdkEphemPubKey == input.SdkEphemPubKey ||
                    this.SdkEphemPubKey != null &&
                    this.SdkEphemPubKey.Equals(input.SdkEphemPubKey)
                ) &&
                (
                    this.SdkMaxTimeout == input.SdkMaxTimeout ||
                    this.SdkMaxTimeout != null &&
                    this.SdkMaxTimeout.Equals(input.SdkMaxTimeout)
                ) &&
                (
                    this.SdkReferenceNumber == input.SdkReferenceNumber ||
                    this.SdkReferenceNumber != null &&
                    this.SdkReferenceNumber.Equals(input.SdkReferenceNumber)
                ) &&
                (
                    this.SdkTransID == input.SdkTransID ||
                    this.SdkTransID != null &&
                    this.SdkTransID.Equals(input.SdkTransID)
                ) &&
                (
                    this.ThreeDSCompInd == input.ThreeDSCompInd ||
                    this.ThreeDSCompInd != null &&
                    this.ThreeDSCompInd.Equals(input.ThreeDSCompInd)
                ) &&
                (
                    this.ThreeDSRequestorID == input.ThreeDSRequestorID ||
                    this.ThreeDSRequestorID != null &&
                    this.ThreeDSRequestorID.Equals(input.ThreeDSRequestorID)
                ) &&
                (
                    this.ThreeDSRequestorName == input.ThreeDSRequestorName ||
                    this.ThreeDSRequestorName != null &&
                    this.ThreeDSRequestorName.Equals(input.ThreeDSRequestorName)
                ) &&
                (
                    this.ThreeDSRequestorURL == input.ThreeDSRequestorURL ||
                    this.ThreeDSRequestorURL != null &&
                    this.ThreeDSRequestorURL.Equals(input.ThreeDSRequestorURL)
                ) &&
                (
                    this.TransactionType == input.TransactionType ||
                    this.TransactionType != null &&
                    this.TransactionType.Equals(input.TransactionType)
                ) &&
                (
                    this.WhiteListStatus == input.WhiteListStatus ||
                    this.WhiteListStatus != null &&
                    this.WhiteListStatus.Equals(input.WhiteListStatus)
                );
        }

19 View Source File : AccountPayoutState.cs
License : MIT License
Project Creator : Adyen

public bool Equals(AccountPayoutState input)
        {
            if (input == null)
                return false;

            return 
                (
                    this.AllowPayout == input.AllowPayout ||
                    (this.AllowPayout != null &&
                    this.AllowPayout.Equals(input.AllowPayout))
                ) && 
                (
                    this.DisableReason == input.DisableReason ||
                    (this.DisableReason != null &&
                    this.DisableReason.Equals(input.DisableReason))
                ) && 
                (
                    this.Disabled == input.Disabled ||
                    (this.Disabled != null &&
                    this.Disabled.Equals(input.Disabled))
                ) && 
                (
                    this.NotAllowedReason == input.NotAllowedReason ||
                    (this.NotAllowedReason != null &&
                    this.NotAllowedReason.Equals(input.NotAllowedReason))
                ) && 
                (
                    this.PayoutLimit == input.PayoutLimit ||
                    (this.PayoutLimit != null &&
                    ((Object) this.PayoutLimit).Equals(input.PayoutLimit))
                ) && 
                (
                    this.TierNumber == input.TierNumber ||
                    (this.TierNumber != null &&
                    this.TierNumber.Equals(input.TierNumber))
                );
        }

19 View Source File : AccountProcessingState.cs
License : MIT License
Project Creator : Adyen

public bool Equals(AccountProcessingState input)
        {
            if (input == null)
                return false;

            return 
                (
                    this.DisableReason == input.DisableReason ||
                    (this.DisableReason != null &&
                    this.DisableReason.Equals(input.DisableReason))
                ) && 
                (
                    this.Disabled == input.Disabled ||
                    (this.Disabled != null &&
                    this.Disabled.Equals(input.Disabled))
                ) && 
                (
                    this.ProcessedFrom == input.ProcessedFrom ||
                    (this.ProcessedFrom != null &&
                    ((Object) this.ProcessedFrom).Equals(input.ProcessedFrom))
                ) && 
                (
                    this.ProcessedTo == input.ProcessedTo ||
                    (this.ProcessedTo != null &&
                    ((Object) this.ProcessedTo).Equals(input.ProcessedTo))
                ) && 
                (
                    this.TierNumber == input.TierNumber ||
                    (this.TierNumber != null &&
                    this.TierNumber.Equals(input.TierNumber))
                );
        }

19 View Source File : AccountTransactionList.cs
License : MIT License
Project Creator : Adyen

public bool Equals(AccountTransactionList input)
        {
            if (input == null)
                return false;

            return
                (
                    this.AccountCode == input.AccountCode ||
                    (this.AccountCode != null &&
                    this.AccountCode.Equals(input.AccountCode))
                ) &&
                (
                    this.HasNextPage == input.HasNextPage ||
                    (this.HasNextPage != null &&
                    this.HasNextPage.Equals(input.HasNextPage))
                ) &&
                (
                    this.Transactions == input.Transactions ||
                    this.Transactions != null &&
                    input.Transactions != null &&
                    this.Transactions.SequenceEqual(input.Transactions)
                );
        }

19 View Source File : BankAccountDetail.cs
License : MIT License
Project Creator : Adyen

public bool Equals(BankAccountDetail input)
        {
            if (input == null)
                return false;

            return
                (
                    this.AccountNumber == input.AccountNumber ||
                    (this.AccountNumber != null &&
                    this.AccountNumber.Equals(input.AccountNumber))
                ) &&
                (
                    this.AccountType == input.AccountType ||
                    (this.AccountType != null &&
                    this.AccountType.Equals(input.AccountType))
                ) &&
                (
                    this.BankAccountName == input.BankAccountName ||
                    (this.BankAccountName != null &&
                    this.BankAccountName.Equals(input.BankAccountName))
                ) &&
                (
                    this.BankAccountReference == input.BankAccountReference ||
                    (this.BankAccountReference != null &&
                    this.BankAccountReference.Equals(input.BankAccountReference))
                ) &&
                (
                    this.BankAccountUUID == input.BankAccountUUID ||
                    (this.BankAccountUUID != null &&
                    this.BankAccountUUID.Equals(input.BankAccountUUID))
                ) &&
                (
                    this.BankBicSwift == input.BankBicSwift ||
                    (this.BankBicSwift != null &&
                    this.BankBicSwift.Equals(input.BankBicSwift))
                ) &&
                (
                    this.BankCity == input.BankCity ||
                    (this.BankCity != null &&
                    this.BankCity.Equals(input.BankCity))
                ) &&
                (
                    this.BankCode == input.BankCode ||
                    (this.BankCode != null &&
                    this.BankCode.Equals(input.BankCode))
                ) &&
                (
                    this.BankName == input.BankName ||
                    (this.BankName != null &&
                    this.BankName.Equals(input.BankName))
                ) &&
                (
                    this.BranchCode == input.BranchCode ||
                    (this.BranchCode != null &&
                    this.BranchCode.Equals(input.BranchCode))
                ) &&
                (
                    this.CheckCode == input.CheckCode ||
                    (this.CheckCode != null &&
                    this.CheckCode.Equals(input.CheckCode))
                ) &&
                (
                    this.CountryCode == input.CountryCode ||
                    (this.CountryCode != null &&
                    this.CountryCode.Equals(input.CountryCode))
                ) &&
                (
                    this.CurrencyCode == input.CurrencyCode ||
                    (this.CurrencyCode != null &&
                    this.CurrencyCode.Equals(input.CurrencyCode))
                ) &&
                (
                    this.Iban == input.Iban ||
                    (this.Iban != null &&
                    this.Iban.Equals(input.Iban))
                ) &&
                (
                    this.OwnerCity == input.OwnerCity ||
                    (this.OwnerCity != null &&
                    this.OwnerCity.Equals(input.OwnerCity))
                ) &&
                (
                    this.OwnerCountryCode == input.OwnerCountryCode ||
                    (this.OwnerCountryCode != null &&
                    this.OwnerCountryCode.Equals(input.OwnerCountryCode))
                ) &&
                (
                    this.OwnerDateOfBirth == input.OwnerDateOfBirth ||
                    (this.OwnerDateOfBirth != null &&
                    this.OwnerDateOfBirth.Equals(input.OwnerDateOfBirth))
                ) &&
                (
                    this.OwnerHouseNumberOrName == input.OwnerHouseNumberOrName ||
                    (this.OwnerHouseNumberOrName != null &&
                    this.OwnerHouseNumberOrName.Equals(input.OwnerHouseNumberOrName))
                ) &&
                (
                    this.OwnerName == input.OwnerName ||
                    (this.OwnerName != null &&
                    this.OwnerName.Equals(input.OwnerName))
                ) &&
                (
                    this.OwnerNationality == input.OwnerNationality ||
                    (this.OwnerNationality != null &&
                    this.OwnerNationality.Equals(input.OwnerNationality))
                ) &&
                (
                    this.OwnerPostalCode == input.OwnerPostalCode ||
                    (this.OwnerPostalCode != null &&
                    this.OwnerPostalCode.Equals(input.OwnerPostalCode))
                ) &&
                (
                    this.OwnerState == input.OwnerState ||
                    (this.OwnerState != null &&
                    this.OwnerState.Equals(input.OwnerState))
                ) &&
                (
                    this.OwnerStreet == input.OwnerStreet ||
                    (this.OwnerStreet != null &&
                    this.OwnerStreet.Equals(input.OwnerStreet))
                ) &&
                (
                    this.PrimaryAccount == input.PrimaryAccount ||
                    (this.PrimaryAccount != null &&
                    this.PrimaryAccount.Equals(input.PrimaryAccount))
                ) &&
                (
                    this.TaxId == input.TaxId ||
                    (this.TaxId != null &&
                    this.TaxId.Equals(input.TaxId))
                ) &&
                (
                    this.UrlForVerification == input.UrlForVerification ||
                    (this.UrlForVerification != null &&
                    this.UrlForVerification.Equals(input.UrlForVerification))
                );
        }

19 View Source File : GetAccountHolderRequest.cs
License : MIT License
Project Creator : Adyen

public bool Equals(GetAccountHolderRequest input)
        {
            if (input == null)
                return false;

            return 
                (
                    this.AccountCode == input.AccountCode ||
                    (this.AccountCode != null &&
                    this.AccountCode.Equals(input.AccountCode))
                ) && 
                (
                    this.AccountHolderCode == input.AccountHolderCode ||
                    (this.AccountHolderCode != null &&
                    this.AccountHolderCode.Equals(input.AccountHolderCode))
                ) && 
                (
                    this.ShowDetails == input.ShowDetails ||
                    (this.ShowDetails != null &&
                    this.ShowDetails.Equals(input.ShowDetails))
                );
        }

19 View Source File : CreateKeyOption.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public bool Equals(CreateKeyOption input)
        {
            if (input == null)
            {
                return false;
            }

            return
                (
                    this.Key == input.Key ||
                    (this.Key != null &&
                    this.Key.Equals(input.Key))) &&
                (
                    this.IsReadOnly == input.IsReadOnly ||
                    (this.IsReadOnly != null &&
                    this.IsReadOnly.Equals(input.IsReadOnly))) &&
                (
                    this.replacedle == input.replacedle ||
                    (this.replacedle != null &&
                    this.replacedle.Equals(input.replacedle)));
        }

19 View Source File : CreateRepoOption.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public bool Equals(CreateRepoOption input)
        {
            if (input == null)
            {
                return false;
            }

            return
                (
                    this.AutoInit == input.AutoInit ||
                    (this.AutoInit != null &&
                    this.AutoInit.Equals(input.AutoInit))) && (
                    this.Description == input.Description ||
                    (this.Description != null &&
                    this.Description.Equals(input.Description))) &&
                (this.Gitignores == input.Gitignores ||
                    (this.Gitignores != null &&
                    this.Gitignores.Equals(input.Gitignores))) &&
                (
                    this.License == input.License ||
                    (this.License != null &&
                    this.License.Equals(input.License))) &&
                (
                    this.Name == input.Name ||
                    (this.Name != null &&
                    this.Name.Equals(input.Name))) &&
                (
                    this.IsPrivate == input.IsPrivate || (this.IsPrivate != null &&
                    this.IsPrivate.Equals(input.IsPrivate))) &&
                (
                    this.Readme == input.Readme ||
                    (this.Readme != null &&
                    this.Readme.Equals(input.Readme)));
        }

19 View Source File : Email.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public bool Equals(Email input)
        {
            if (input == null)
            {
                return false;
            }

            return
                (
                    this.EmailId == input.EmailId ||
                    (this.EmailId != null &&
                    this.EmailId.Equals(input.EmailId))) &&
                (
                    this.Primary == input.Primary ||
                    (this.Primary != null &&
                    this.Primary.Equals(input.Primary))) &&
                (
                    this.Verified == input.Verified ||
                    (this.Verified != null &&
                    this.Verified.Equals(input.Verified)));
        }

19 View Source File : GPGKey.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public bool Equals(GPGKey input)
        {
            if (input == null)
            {
                return false;
            }

            return
                (
                    this.CanCertify == input.CanCertify ||
                    (this.CanCertify != null &&
                    this.CanCertify.Equals(input.CanCertify))) &&
                (
                    this.CanEncryptComms == input.CanEncryptComms ||
                    (this.CanEncryptComms != null &&
                    this.CanEncryptComms.Equals(input.CanEncryptComms))) &&
                (
                    this.CanEncryptStorage == input.CanEncryptStorage ||
                    (this.CanEncryptStorage != null &&
                    this.CanEncryptStorage.Equals(input.CanEncryptStorage))) &&
                (
                    this.CanSign == input.CanSign ||
                    (this.CanSign != null &&
                    this.CanSign.Equals(input.CanSign))) &&
                (
                    this.CreatedAt == input.CreatedAt ||
                    (this.CreatedAt != null &&
                    this.CreatedAt.Equals(input.CreatedAt))) &&
                (
                    this.Emails == input.Emails ||
                    (this.Emails != null &&
                    this.Emails.SequenceEqual(input.Emails))) &&
                (
                    this.ExpiresAt == input.ExpiresAt ||
                    (this.ExpiresAt != null &&
                    this.ExpiresAt.Equals(input.ExpiresAt))) &&
                (
                    this.Id == input.Id ||
                    (this.Id != null &&
                    this.Id.Equals(input.Id))) &&
                (
                    this.KeyId == input.KeyId ||
                    (this.KeyId != null &&
                    this.KeyId.Equals(input.KeyId))) &&
                (
                    this.PrimaryKeyId == input.PrimaryKeyId ||
                    (this.PrimaryKeyId != null &&
                    this.PrimaryKeyId.Equals(input.PrimaryKeyId))) &&
                (
                    this.PublicKey == input.PublicKey ||
                    (this.PublicKey != null &&
                    this.PublicKey.Equals(input.PublicKey))) &&
                (
                    this.Subkeys == input.Subkeys ||
                    (this.Subkeys != null &&
                    this.Subkeys.SequenceEqual(input.Subkeys)));
        }

19 View Source File : GPGKeyEmail.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public bool Equals(GPGKeyEmail input)
        {
            if (input == null)
            {
                return false;
            }

            return
                (
                    this.Email == input.Email ||
                    (this.Email != null &&
                    this.Email.Equals(input.Email))) &&
                (
                    this.Verified == input.Verified ||
                    (this.Verified != null &&
                    this.Verified.Equals(input.Verified)));
        }

19 View Source File : Permission.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public bool Equals(Permission input)
        {
            if (input == null)
            {
                return false;
            }

            return
                (
                    this.Admin == input.Admin ||
                    (this.Admin != null &&
                    this.Admin.Equals(input.Admin))) &&
                (
                    this.Pull == input.Pull ||
                    (this.Pull != null &&
                    this.Pull.Equals(input.Pull))) &&
                (
                    this.Push == input.Push ||
                    (this.Push != null &&
                    this.Push.Equals(input.Push)));
        }

19 View Source File : Repository.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public bool Equals(Repository input)
        {
            if (input == null)
            {
                return false;
            }

            return
                (
                    this.CloneUrl == input.CloneUrl ||
                    (this.CloneUrl != null &&
                    this.CloneUrl.Equals(input.CloneUrl))) &&
                (
                    this.CreatedAt == input.CreatedAt ||
                    (this.CreatedAt != null &&
                    this.CreatedAt.Equals(input.CreatedAt))) &&
                (
                    this.DefaultBranch == input.DefaultBranch ||
                    (this.DefaultBranch != null &&
                    this.DefaultBranch.Equals(input.DefaultBranch))) &&
                (
                    this.Description == input.Description ||
                    (this.Description != null &&
                    this.Description.Equals(input.Description))) &&
                (
                    this.Empty == input.Empty ||
                    (this.Empty != null &&
                    this.Empty.Equals(input.Empty))) &&
                (
                    this.Fork == input.Fork ||
                    (this.Fork != null &&
                    this.Fork.Equals(input.Fork))) &&
                (
                    this.ForksCount == input.ForksCount ||
                    (this.ForksCount != null &&
                    this.ForksCount.Equals(input.ForksCount))) &&
                (
                    this.FullName == input.FullName ||
                    (this.FullName != null &&
                    this.FullName.Equals(input.FullName))) &&
                (
                    this.HtmlUrl == input.HtmlUrl ||
                    (this.HtmlUrl != null &&
                    this.HtmlUrl.Equals(input.HtmlUrl))) &&
                (
                    this.Id == input.Id ||
                    (this.Id != null &&
                    this.Id.Equals(input.Id))) &&
                (
                    this.Mirror == input.Mirror ||
                    (this.Mirror != null &&
                    this.Mirror.Equals(input.Mirror))) &&
                (
                    this.Name == input.Name ||
                    (this.Name != null &&
                    this.Name.Equals(input.Name))) &&
                (
                    this.OreplacedsuesCount == input.OreplacedsuesCount ||
                    (this.OreplacedsuesCount != null &&
                    this.OreplacedsuesCount.Equals(input.OreplacedsuesCount))) &&
                (
                    this.Owner == input.Owner ||
                    (this.Owner != null &&
                    this.Owner.Equals(input.Owner))) &&
                (
                    this.Parent == input.Parent ||
                    (this.Parent != null &&
                    this.Parent.Equals(input.Parent))) &&
                (
                    this.Permissions == input.Permissions ||
                    (this.Permissions != null &&
                    this.Permissions.Equals(input.Permissions))) &&
                (
                    this.IsPrivate == input.IsPrivate ||
                    (this.IsPrivate != null &&
                    this.IsPrivate.Equals(input.IsPrivate))) &&
                (
                    this.Size == input.Size ||
                    (this.Size != null &&
                    this.Size.Equals(input.Size))) &&
                (
                    this.SshUrl == input.SshUrl ||
                    (this.SshUrl != null &&
                    this.SshUrl.Equals(input.SshUrl))) &&
                (
                    this.StarsCount == input.StarsCount ||
                    (this.StarsCount != null &&
                    this.StarsCount.Equals(input.StarsCount))) &&
                (
                    this.UpdatedAt == input.UpdatedAt ||
                    (this.UpdatedAt != null &&
                    this.UpdatedAt.Equals(input.UpdatedAt))) &&
                (
                    this.WatchersCount == input.WatchersCount ||
                    (this.WatchersCount != null &&
                    this.WatchersCount.Equals(input.WatchersCount))) &&
                (
                    this.Website == input.Website ||
                    (this.Website != null &&
                    this.Website.Equals(input.Website)));
        }

19 View Source File : SearchResults.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public bool Equals(SearchResults other)
        {
            if (other == null)
            {
                return false;
            }

            return
                (
                    this.Data == other.Data ||
                    (this.Data != null &&
                    this.Data.SequenceEqual(other.Data))) &&
                (
                    this.Ok == other.Ok ||
                    (this.Ok != null &&
                    this.Ok.Equals(other.Ok)));
        }

19 View Source File : Engine.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public bool Equals(Engine other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.Id == other.Id ||
                    this.Id != null &&
                    this.Id.Equals(other.Id)
                ) && 
                (
                    this.Resource == other.Resource ||
                    this.Resource != null &&
                    this.Resource.Equals(other.Resource)
                ) && 
                (
                    this.IsPublic == other.IsPublic ||
                    this.IsPublic != null &&
                    this.IsPublic.Equals(other.IsPublic)
                ) && 
                (
                    this.Version == other.Version ||
                    this.Version != null &&
                    this.Version.Equals(other.Version)
                ) && 
                (
                    this.Timestamp == other.Timestamp ||
                    this.Timestamp != null &&
                    this.Timestamp.Equals(other.Timestamp)
                ) && 
                (
                    this.Description == other.Description ||
                    this.Description != null &&
                    this.Description.Equals(other.Description)
                );
        }

19 View Source File : JobPayloadInput.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public bool Equals(JobPayloadInput other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.Urn == other.Urn ||
                    this.Urn != null &&
                    this.Urn.Equals(other.Urn)
                ) &&
                (
                    this.CheckReferences == other.CheckReferences ||
                    this.CheckReferences != null &&
                    this.CheckReferences.Equals(other.CheckReferences)
                ) &&
                (
                    this.CompressedUrn == other.CompressedUrn ||
                    this.CompressedUrn != null &&
                    this.CompressedUrn.Equals(other.CompressedUrn)
                ) && 
                (
                    this.RootFilename == other.RootFilename ||
                    this.RootFilename != null &&
                    this.RootFilename.Equals(other.RootFilename)
                );
        }

19 View Source File : JobStlOutputPayloadAdvanced.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public bool Equals(JobStlOutputPayloadAdvanced other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.Format == other.Format ||
                    this.Format != null &&
                    this.Format.Equals(other.Format)
                ) && 
                (
                    this.ExportColor == other.ExportColor ||
                    this.ExportColor != null &&
                    this.ExportColor.Equals(other.ExportColor)
                ) && 
                (
                    this.ExportFileStructure == other.ExportFileStructure ||
                    this.ExportFileStructure != null &&
                    this.ExportFileStructure.Equals(other.ExportFileStructure)
                );
        }

19 View Source File : JobSvf2OutputPayloadAdvanced.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public bool Equals(JobSvf2OutputPayloadAdvanced other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return
                (
                    this.ConversionMethod == other.ConversionMethod ||
                    this.ConversionMethod != null &&
                    this.ConversionMethod.Equals(other.ConversionMethod)
                ) &&
                (
                    this.BuildingStoreys == other.BuildingStoreys ||
                    this.BuildingStoreys != null &&
                    this.BuildingStoreys.Equals(other.BuildingStoreys)
                ) &&
                (
                    this.Spaces == other.Spaces ||
                    this.Spaces != null &&
                    this.Spaces.Equals(other.Spaces)
                ) &&
                (
                    this.OpeningElements == other.OpeningElements ||
                    this.OpeningElements != null &&
                    this.OpeningElements.Equals(other.OpeningElements)
                ) &&
                (
                    this.GenerateMasterViews == other.GenerateMasterViews ||
                    this.GenerateMasterViews != null &&
                    this.GenerateMasterViews.Equals(other.GenerateMasterViews)
                ) &&
                (
                    this.MaterialMode == other.MaterialMode ||
                    this.MaterialMode != null &&
                    this.MaterialMode.Equals(other.MaterialMode)
                ) &&
                (
                    this.HiddenObjects == other.HiddenObjects ||
                    this.HiddenObjects != null &&
                    this.HiddenObjects.Equals(other.HiddenObjects)
                ) &&
                (
                    this.BasicMaterialProperties == other.BasicMaterialProperties ||
                    this.BasicMaterialProperties != null &&
                    this.BasicMaterialProperties.Equals(other.BasicMaterialProperties)
                ) &&
                (
                    this.AutodeskMaterialProperties == other.AutodeskMaterialProperties ||
                    this.AutodeskMaterialProperties != null &&
                    this.AutodeskMaterialProperties.Equals(other.AutodeskMaterialProperties)
                ) &&
                (
                    this.TimelinerProperties == other.TimelinerProperties ||
                    this.TimelinerProperties != null &&
                    this.TimelinerProperties.Equals(other.TimelinerProperties)
                );
        }

19 View Source File : JobSvfOutputPayloadAdvanced.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public bool Equals(JobSvfOutputPayloadAdvanced other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.ConversionMethod == other.ConversionMethod ||
                    this.ConversionMethod != null &&
                    this.ConversionMethod.Equals(other.ConversionMethod)
                ) && 
                (
                    this.BuildingStoreys == other.BuildingStoreys ||
                    this.BuildingStoreys != null &&
                    this.BuildingStoreys.Equals(other.BuildingStoreys)
                ) &&
                (
                    this.Spaces == other.Spaces ||
                    this.Spaces != null &&
                    this.Spaces.Equals(other.Spaces)
                ) &&
                (
                    this.OpeningElements == other.OpeningElements ||
                    this.OpeningElements != null &&
                    this.OpeningElements.Equals(other.OpeningElements)
                ) &&
                (
                    this.GenerateMasterViews == other.GenerateMasterViews ||
                    this.GenerateMasterViews != null &&
                    this.GenerateMasterViews.Equals(other.GenerateMasterViews)
                ) &&
                (
                    this.MaterialMode == other.MaterialMode ||
                    this.MaterialMode != null &&
                    this.MaterialMode.Equals(other.MaterialMode)
                ) &&
                (
                    this.HiddenObjects == other.HiddenObjects ||
                    this.HiddenObjects != null &&
                    this.HiddenObjects.Equals(other.HiddenObjects)
                ) &&
                (
                    this.BasicMaterialProperties == other.BasicMaterialProperties ||
                    this.BasicMaterialProperties != null &&
                    this.BasicMaterialProperties.Equals(other.BasicMaterialProperties)
                ) &&
                (
                    this.AutodeskMaterialProperties == other.AutodeskMaterialProperties ||
                    this.AutodeskMaterialProperties != null &&
                    this.AutodeskMaterialProperties.Equals(other.AutodeskMaterialProperties)
                ) &&
                (
                    this.TimelinerProperties == other.TimelinerProperties ||
                    this.TimelinerProperties != null &&
                    this.TimelinerProperties.Equals(other.TimelinerProperties)
                );
        }

19 View Source File : Manifest.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public bool Equals(Manifest other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.Urn == other.Urn ||
                    this.Urn != null &&
                    this.Urn.Equals(other.Urn)
                ) && 
                (
                    this.Type == other.Type ||
                    this.Type != null &&
                    this.Type.Equals(other.Type)
                ) && 
                (
                    this.Progress == other.Progress ||
                    this.Progress != null &&
                    this.Progress.Equals(other.Progress)
                ) && 
                (
                    this.Status == other.Status ||
                    this.Status != null &&
                    this.Status.Equals(other.Status)
                ) && 
                (
                    this.HasThumbnail == other.HasThumbnail ||
                    this.HasThumbnail != null &&
                    this.HasThumbnail.Equals(other.HasThumbnail)
                ) && 
                (
                    this.Region == other.Region ||
                    this.Region != null &&
                    this.Region.Equals(other.Region)
                ) && 
                (
                    this.Derivatives == other.Derivatives ||
                    this.Derivatives != null &&
                    this.Derivatives.SequenceEqual(other.Derivatives)
                );
        }

19 View Source File : ManifestChildren.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public bool Equals(ManifestChildren other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.Type == other.Type ||
                    this.Type != null &&
                    this.Type.Equals(other.Type)
                ) && 
                (
                    this.Role == other.Role ||
                    this.Role != null &&
                    this.Role.Equals(other.Role)
                ) && 
                (
                    this.Name == other.Name ||
                    this.Name != null &&
                    this.Name.Equals(other.Name)
                ) && 
                (
                    this.HasThumbnail == other.HasThumbnail ||
                    this.HasThumbnail != null &&
                    this.HasThumbnail.Equals(other.HasThumbnail)
                ) && 
                (
                    this.Mime == other.Mime ||
                    this.Mime != null &&
                    this.Mime.Equals(other.Mime)
                ) && 
                (
                    this.Urn == other.Urn ||
                    this.Urn != null &&
                    this.Urn.Equals(other.Urn)
                ) && 
                (
                    this.Progress == other.Progress ||
                    this.Progress != null &&
                    this.Progress.Equals(other.Progress)
                ) && 
                (
                    this.Status == other.Status ||
                    this.Status != null &&
                    this.Status.Equals(other.Status)
                ) && 
                (
                    this.Resolution == other.Resolution ||
                    this.Resolution != null &&
                    this.Resolution.SequenceEqual(other.Resolution)
                ) && 
                (
                    this.ModelGUID == other.ModelGUID ||
                    this.ModelGUID != null &&
                    this.ModelGUID.Equals(other.ModelGUID)
                ) && 
                (
                    this.ObjectIds == other.ObjectIds ||
                    this.ObjectIds != null &&
                    this.ObjectIds.SequenceEqual(other.ObjectIds)
                ) && 
                (
                    this.Messages == other.Messages ||
                    this.Messages != null &&
                    this.Messages.Equals(other.Messages)
                );
        }

19 View Source File : ManifestDerivative.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public bool Equals(ManifestDerivative other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.Name == other.Name ||
                    this.Name != null &&
                    this.Name.Equals(other.Name)
                ) && 
                (
                    this.HasThumbnail == other.HasThumbnail ||
                    this.HasThumbnail != null &&
                    this.HasThumbnail.Equals(other.HasThumbnail)
                ) && 
                (
                    this.OutputType == other.OutputType ||
                    this.OutputType != null &&
                    this.OutputType.Equals(other.OutputType)
                ) && 
                (
                    this.Progress == other.Progress ||
                    this.Progress != null &&
                    this.Progress.Equals(other.Progress)
                ) && 
                (
                    this.Status == other.Status ||
                    this.Status != null &&
                    this.Status.Equals(other.Status)
                ) && 
                (
                    this.Children == other.Children ||
                    this.Children != null &&
                    this.Children.SequenceEqual(other.Children)
                );
        }

19 View Source File : UserProfile.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public bool Equals(UserProfile other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return
                (
                    this.UserId == other.UserId ||
                    this.UserId != null &&
                    this.UserId.Equals(other.UserId)
                ) &&
                (
                    this.UserName == other.UserName ||
                    this.UserName != null &&
                    this.UserName.Equals(other.UserName)
                ) &&
                (
                    this.EmailId == other.EmailId ||
                    this.EmailId != null &&
                    this.EmailId.Equals(other.EmailId)
                ) &&
                (
                    this.FirstName == other.FirstName ||
                    this.FirstName != null &&
                    this.FirstName.Equals(other.FirstName)
                ) &&
                (
                    this.LastName == other.LastName ||
                    this.LastName != null &&
                    this.LastName.Equals(other.LastName)
                ) &&
                (
                    this.EmailVerified == other.EmailVerified ||
                    this.EmailVerified != null &&
                    this.EmailVerified.Equals(other.EmailVerified)
                ) &&
                (
                    this._2FaEnabled == other._2FaEnabled ||
                    this._2FaEnabled != null &&
                    this._2FaEnabled.Equals(other._2FaEnabled)
                ) &&
                (
                    this.ProfileImages == other.ProfileImages ||
                    this.ProfileImages != null &&
                    this.ProfileImages.Equals(other.ProfileImages)
                );
        }

19 View Source File : BrowserConfiguration.cs
License : Apache License 2.0
Project Creator : AutomateThePlanet

public bool Equals(BrowserConfiguration other) => ExecutionType.Equals(other?.ExecutionType) &&
                                                          BrowserType.Equals(other?.BrowserType) &&
                                                          ShouldCaptureHttpTraffic.Equals(other?.ShouldCaptureHttpTraffic) &&
                                                          Size.Equals(other?.Size) &&
                                                          IsLighthouseEnabled.Equals(other?.IsLighthouseEnabled) &&
                                                          ShouldAutomaticallyScrollToVisible.Equals(other?.ShouldAutomaticallyScrollToVisible);

19 View Source File : BrowserConfiguration.cs
License : Apache License 2.0
Project Creator : AutomateThePlanet

public override bool Equals(object obj)
        {
            var browserConfiguration = (BrowserConfiguration)obj;
            return ExecutionType.Equals(browserConfiguration?.ExecutionType) &&
            BrowserType.Equals(browserConfiguration?.BrowserType) &&
            ShouldCaptureHttpTraffic.Equals(browserConfiguration?.ShouldCaptureHttpTraffic) &&
            Size.Equals(browserConfiguration?.Size) &&
            ShouldAutomaticallyScrollToVisible.Equals(browserConfiguration?.ShouldAutomaticallyScrollToVisible);
            IsLighthouseEnabled.Equals(browserConfiguration?.IsLighthouseEnabled);
        }

19 View Source File : Account.cs
License : Apache License 2.0
Project Creator : Capnode

public bool Equals(Account other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.Id == other.Id ||
                    this.Id != null &&
                    this.Id.Equals(other.Id)
                ) && 
                (
                    this.Alias == other.Alias ||
                    this.Alias != null &&
                    this.Alias.Equals(other.Alias)
                ) && 
                (
                    this.Currency == other.Currency ||
                    this.Currency != null &&
                    this.Currency.Equals(other.Currency)
                ) && 
                (
                    this.Balance == other.Balance ||
                    this.Balance != null &&
                    this.Balance.Equals(other.Balance)
                ) && 
                (
                    this.CreatedByUserID == other.CreatedByUserID ||
                    this.CreatedByUserID != null &&
                    this.CreatedByUserID.Equals(other.CreatedByUserID)
                ) && 
                (
                    this.CreatedTime == other.CreatedTime ||
                    this.CreatedTime != null &&
                    this.CreatedTime.Equals(other.CreatedTime)
                ) && 
                (
                    this.Pl == other.Pl ||
                    this.Pl != null &&
                    this.Pl.Equals(other.Pl)
                ) && 
                (
                    this.ResettablePL == other.ResettablePL ||
                    this.ResettablePL != null &&
                    this.ResettablePL.Equals(other.ResettablePL)
                ) && 
                (
                    this.ResettabledPLTime == other.ResettabledPLTime ||
                    this.ResettabledPLTime != null &&
                    this.ResettabledPLTime.Equals(other.ResettabledPLTime)
                ) && 
                (
                    this.MarginRate == other.MarginRate ||
                    this.MarginRate != null &&
                    this.MarginRate.Equals(other.MarginRate)
                ) && 
                (
                    this.MarginCallEnterTime == other.MarginCallEnterTime ||
                    this.MarginCallEnterTime != null &&
                    this.MarginCallEnterTime.Equals(other.MarginCallEnterTime)
                ) && 
                (
                    this.MarginCallExtensionCount == other.MarginCallExtensionCount ||
                    this.MarginCallExtensionCount != null &&
                    this.MarginCallExtensionCount.Equals(other.MarginCallExtensionCount)
                ) && 
                (
                    this.LastMarginCallExtensionTime == other.LastMarginCallExtensionTime ||
                    this.LastMarginCallExtensionTime != null &&
                    this.LastMarginCallExtensionTime.Equals(other.LastMarginCallExtensionTime)
                ) && 
                (
                    this.OpenTradeCount == other.OpenTradeCount ||
                    this.OpenTradeCount != null &&
                    this.OpenTradeCount.Equals(other.OpenTradeCount)
                ) && 
                (
                    this.OpenPositionCount == other.OpenPositionCount ||
                    this.OpenPositionCount != null &&
                    this.OpenPositionCount.Equals(other.OpenPositionCount)
                ) && 
                (
                    this.PendingOrderCount == other.PendingOrderCount ||
                    this.PendingOrderCount != null &&
                    this.PendingOrderCount.Equals(other.PendingOrderCount)
                ) && 
                (
                    this.HedgingEnabled == other.HedgingEnabled ||
                    this.HedgingEnabled != null &&
                    this.HedgingEnabled.Equals(other.HedgingEnabled)
                ) && 
                (
                    this.UnrealizedPL == other.UnrealizedPL ||
                    this.UnrealizedPL != null &&
                    this.UnrealizedPL.Equals(other.UnrealizedPL)
                ) && 
                (
                    this.NAV == other.NAV ||
                    this.NAV != null &&
                    this.NAV.Equals(other.NAV)
                ) && 
                (
                    this.MarginUsed == other.MarginUsed ||
                    this.MarginUsed != null &&
                    this.MarginUsed.Equals(other.MarginUsed)
                ) && 
                (
                    this.MarginAvailable == other.MarginAvailable ||
                    this.MarginAvailable != null &&
                    this.MarginAvailable.Equals(other.MarginAvailable)
                ) && 
                (
                    this.PositionValue == other.PositionValue ||
                    this.PositionValue != null &&
                    this.PositionValue.Equals(other.PositionValue)
                ) && 
                (
                    this.MarginCloseoutUnrealizedPL == other.MarginCloseoutUnrealizedPL ||
                    this.MarginCloseoutUnrealizedPL != null &&
                    this.MarginCloseoutUnrealizedPL.Equals(other.MarginCloseoutUnrealizedPL)
                ) && 
                (
                    this.MarginCloseoutNAV == other.MarginCloseoutNAV ||
                    this.MarginCloseoutNAV != null &&
                    this.MarginCloseoutNAV.Equals(other.MarginCloseoutNAV)
                ) && 
                (
                    this.MarginCloseoutMarginUsed == other.MarginCloseoutMarginUsed ||
                    this.MarginCloseoutMarginUsed != null &&
                    this.MarginCloseoutMarginUsed.Equals(other.MarginCloseoutMarginUsed)
                ) && 
                (
                    this.MarginCloseoutPercent == other.MarginCloseoutPercent ||
                    this.MarginCloseoutPercent != null &&
                    this.MarginCloseoutPercent.Equals(other.MarginCloseoutPercent)
                ) && 
                (
                    this.MarginCloseoutPositionValue == other.MarginCloseoutPositionValue ||
                    this.MarginCloseoutPositionValue != null &&
                    this.MarginCloseoutPositionValue.Equals(other.MarginCloseoutPositionValue)
                ) && 
                (
                    this.WithdrawalLimit == other.WithdrawalLimit ||
                    this.WithdrawalLimit != null &&
                    this.WithdrawalLimit.Equals(other.WithdrawalLimit)
                ) && 
                (
                    this.MarginCallMarginUsed == other.MarginCallMarginUsed ||
                    this.MarginCallMarginUsed != null &&
                    this.MarginCallMarginUsed.Equals(other.MarginCallMarginUsed)
                ) && 
                (
                    this.MarginCallPercent == other.MarginCallPercent ||
                    this.MarginCallPercent != null &&
                    this.MarginCallPercent.Equals(other.MarginCallPercent)
                ) && 
                (
                    this.LastTransactionID == other.LastTransactionID ||
                    this.LastTransactionID != null &&
                    this.LastTransactionID.Equals(other.LastTransactionID)
                ) && 
                (
                    this.Trades == other.Trades ||
                    this.Trades != null &&
                    this.Trades.SequenceEqual(other.Trades)
                ) && 
                (
                    this.Positions == other.Positions ||
                    this.Positions != null &&
                    this.Positions.SequenceEqual(other.Positions)
                ) && 
                (
                    this.Orders == other.Orders ||
                    this.Orders != null &&
                    this.Orders.SequenceEqual(other.Orders)
                );
        }

19 View Source File : Candlestick.cs
License : Apache License 2.0
Project Creator : Capnode

public bool Equals(Candlestick other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.Time == other.Time ||
                    this.Time != null &&
                    this.Time.Equals(other.Time)
                ) && 
                (
                    this.Bid == other.Bid ||
                    this.Bid != null &&
                    this.Bid.Equals(other.Bid)
                ) && 
                (
                    this.Ask == other.Ask ||
                    this.Ask != null &&
                    this.Ask.Equals(other.Ask)
                ) && 
                (
                    this.Mid == other.Mid ||
                    this.Mid != null &&
                    this.Mid.Equals(other.Mid)
                ) && 
                (
                    this.Volume == other.Volume ||
                    this.Volume != null &&
                    this.Volume.Equals(other.Volume)
                ) && 
                (
                    this.Complete == other.Complete ||
                    this.Complete != null &&
                    this.Complete.Equals(other.Complete)
                );
        }

19 View Source File : DynamicOrderState.cs
License : Apache License 2.0
Project Creator : Capnode

public bool Equals(DynamicOrderState other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.Id == other.Id ||
                    this.Id != null &&
                    this.Id.Equals(other.Id)
                ) && 
                (
                    this.TrailingStopValue == other.TrailingStopValue ||
                    this.TrailingStopValue != null &&
                    this.TrailingStopValue.Equals(other.TrailingStopValue)
                ) && 
                (
                    this.TriggerDistance == other.TriggerDistance ||
                    this.TriggerDistance != null &&
                    this.TriggerDistance.Equals(other.TriggerDistance)
                ) && 
                (
                    this.IsTriggerDistanceExact == other.IsTriggerDistanceExact ||
                    this.IsTriggerDistanceExact != null &&
                    this.IsTriggerDistanceExact.Equals(other.IsTriggerDistanceExact)
                );
        }

19 View Source File : AccountSummary.cs
License : Apache License 2.0
Project Creator : Capnode

public bool Equals(AccountSummary other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.Id == other.Id ||
                    this.Id != null &&
                    this.Id.Equals(other.Id)
                ) && 
                (
                    this.Alias == other.Alias ||
                    this.Alias != null &&
                    this.Alias.Equals(other.Alias)
                ) && 
                (
                    this.Currency == other.Currency ||
                    this.Currency != null &&
                    this.Currency.Equals(other.Currency)
                ) && 
                (
                    this.Balance == other.Balance ||
                    this.Balance != null &&
                    this.Balance.Equals(other.Balance)
                ) && 
                (
                    this.CreatedByUserID == other.CreatedByUserID ||
                    this.CreatedByUserID != null &&
                    this.CreatedByUserID.Equals(other.CreatedByUserID)
                ) && 
                (
                    this.CreatedTime == other.CreatedTime ||
                    this.CreatedTime != null &&
                    this.CreatedTime.Equals(other.CreatedTime)
                ) && 
                (
                    this.Pl == other.Pl ||
                    this.Pl != null &&
                    this.Pl.Equals(other.Pl)
                ) && 
                (
                    this.ResettablePL == other.ResettablePL ||
                    this.ResettablePL != null &&
                    this.ResettablePL.Equals(other.ResettablePL)
                ) && 
                (
                    this.ResettabledPLTime == other.ResettabledPLTime ||
                    this.ResettabledPLTime != null &&
                    this.ResettabledPLTime.Equals(other.ResettabledPLTime)
                ) && 
                (
                    this.MarginRate == other.MarginRate ||
                    this.MarginRate != null &&
                    this.MarginRate.Equals(other.MarginRate)
                ) && 
                (
                    this.MarginCallEnterTime == other.MarginCallEnterTime ||
                    this.MarginCallEnterTime != null &&
                    this.MarginCallEnterTime.Equals(other.MarginCallEnterTime)
                ) && 
                (
                    this.MarginCallExtensionCount == other.MarginCallExtensionCount ||
                    this.MarginCallExtensionCount != null &&
                    this.MarginCallExtensionCount.Equals(other.MarginCallExtensionCount)
                ) && 
                (
                    this.LastMarginCallExtensionTime == other.LastMarginCallExtensionTime ||
                    this.LastMarginCallExtensionTime != null &&
                    this.LastMarginCallExtensionTime.Equals(other.LastMarginCallExtensionTime)
                ) && 
                (
                    this.OpenTradeCount == other.OpenTradeCount ||
                    this.OpenTradeCount != null &&
                    this.OpenTradeCount.Equals(other.OpenTradeCount)
                ) && 
                (
                    this.OpenPositionCount == other.OpenPositionCount ||
                    this.OpenPositionCount != null &&
                    this.OpenPositionCount.Equals(other.OpenPositionCount)
                ) && 
                (
                    this.PendingOrderCount == other.PendingOrderCount ||
                    this.PendingOrderCount != null &&
                    this.PendingOrderCount.Equals(other.PendingOrderCount)
                ) && 
                (
                    this.HedgingEnabled == other.HedgingEnabled ||
                    this.HedgingEnabled != null &&
                    this.HedgingEnabled.Equals(other.HedgingEnabled)
                ) && 
                (
                    this.UnrealizedPL == other.UnrealizedPL ||
                    this.UnrealizedPL != null &&
                    this.UnrealizedPL.Equals(other.UnrealizedPL)
                ) && 
                (
                    this.NAV == other.NAV ||
                    this.NAV != null &&
                    this.NAV.Equals(other.NAV)
                ) && 
                (
                    this.MarginUsed == other.MarginUsed ||
                    this.MarginUsed != null &&
                    this.MarginUsed.Equals(other.MarginUsed)
                ) && 
                (
                    this.MarginAvailable == other.MarginAvailable ||
                    this.MarginAvailable != null &&
                    this.MarginAvailable.Equals(other.MarginAvailable)
                ) && 
                (
                    this.PositionValue == other.PositionValue ||
                    this.PositionValue != null &&
                    this.PositionValue.Equals(other.PositionValue)
                ) && 
                (
                    this.MarginCloseoutUnrealizedPL == other.MarginCloseoutUnrealizedPL ||
                    this.MarginCloseoutUnrealizedPL != null &&
                    this.MarginCloseoutUnrealizedPL.Equals(other.MarginCloseoutUnrealizedPL)
                ) && 
                (
                    this.MarginCloseoutNAV == other.MarginCloseoutNAV ||
                    this.MarginCloseoutNAV != null &&
                    this.MarginCloseoutNAV.Equals(other.MarginCloseoutNAV)
                ) && 
                (
                    this.MarginCloseoutMarginUsed == other.MarginCloseoutMarginUsed ||
                    this.MarginCloseoutMarginUsed != null &&
                    this.MarginCloseoutMarginUsed.Equals(other.MarginCloseoutMarginUsed)
                ) && 
                (
                    this.MarginCloseoutPercent == other.MarginCloseoutPercent ||
                    this.MarginCloseoutPercent != null &&
                    this.MarginCloseoutPercent.Equals(other.MarginCloseoutPercent)
                ) && 
                (
                    this.MarginCloseoutPositionValue == other.MarginCloseoutPositionValue ||
                    this.MarginCloseoutPositionValue != null &&
                    this.MarginCloseoutPositionValue.Equals(other.MarginCloseoutPositionValue)
                ) && 
                (
                    this.WithdrawalLimit == other.WithdrawalLimit ||
                    this.WithdrawalLimit != null &&
                    this.WithdrawalLimit.Equals(other.WithdrawalLimit)
                ) && 
                (
                    this.MarginCallMarginUsed == other.MarginCallMarginUsed ||
                    this.MarginCallMarginUsed != null &&
                    this.MarginCallMarginUsed.Equals(other.MarginCallMarginUsed)
                ) && 
                (
                    this.MarginCallPercent == other.MarginCallPercent ||
                    this.MarginCallPercent != null &&
                    this.MarginCallPercent.Equals(other.MarginCallPercent)
                ) && 
                (
                    this.LastTransactionID == other.LastTransactionID ||
                    this.LastTransactionID != null &&
                    this.LastTransactionID.Equals(other.LastTransactionID)
                );
        }

19 View Source File : Price.cs
License : Apache License 2.0
Project Creator : Capnode

public bool Equals(Price other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.Type == other.Type ||
                    this.Type != null &&
                    this.Type.Equals(other.Type)
                ) && 
                (
                    this.Instrument == other.Instrument ||
                    this.Instrument != null &&
                    this.Instrument.Equals(other.Instrument)
                ) && 
                (
                    this.Time == other.Time ||
                    this.Time != null &&
                    this.Time.Equals(other.Time)
                ) && 
                (
                    this.Status == other.Status ||
                    this.Status != null &&
                    this.Status.Equals(other.Status)
                ) && 
                (
                    this.Tradeable == other.Tradeable ||
                    this.Tradeable != null &&
                    this.Tradeable.Equals(other.Tradeable)
                ) && 
                (
                    this.Bids == other.Bids ||
                    this.Bids != null &&
                    this.Bids.SequenceEqual(other.Bids)
                ) && 
                (
                    this.Asks == other.Asks ||
                    this.Asks != null &&
                    this.Asks.SequenceEqual(other.Asks)
                ) && 
                (
                    this.CloseoutBid == other.CloseoutBid ||
                    this.CloseoutBid != null &&
                    this.CloseoutBid.Equals(other.CloseoutBid)
                ) && 
                (
                    this.CloseoutAsk == other.CloseoutAsk ||
                    this.CloseoutAsk != null &&
                    this.CloseoutAsk.Equals(other.CloseoutAsk)
                ) && 
                (
                    this.QuoteHomeConversionFactors == other.QuoteHomeConversionFactors ||
                    this.QuoteHomeConversionFactors != null &&
                    this.QuoteHomeConversionFactors.Equals(other.QuoteHomeConversionFactors)
                ) && 
                (
                    this.UnitsAvailable == other.UnitsAvailable ||
                    this.UnitsAvailable != null &&
                    this.UnitsAvailable.Equals(other.UnitsAvailable)
                );
        }

19 View Source File : UserInfoExternal.cs
License : Apache License 2.0
Project Creator : Capnode

public bool Equals(UserInfoExternal other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.UserID == other.UserID ||
                    this.UserID != null &&
                    this.UserID.Equals(other.UserID)
                ) && 
                (
                    this.Country == other.Country ||
                    this.Country != null &&
                    this.Country.Equals(other.Country)
                ) && 
                (
                    this.FIFO == other.FIFO ||
                    this.FIFO != null &&
                    this.FIFO.Equals(other.FIFO)
                );
        }

19 View Source File : SpanData.cs
License : Apache License 2.0
Project Creator : census-instrumentation

public override bool Equals(object o)
        {
            if (o == this)
            {
                return true;
            }

            if (o is SpanData that)
            {
                return this.Context.Equals(that.Context)
                     && ((this.ParentSpanId == null) ? (that.ParentSpanId == null) : this.ParentSpanId.Equals(that.ParentSpanId))
                     && this.HasRemoteParent.Equals(that.HasRemoteParent)
                     && this.Name.Equals(that.Name)
                     && this.StartTimestamp.Equals(that.StartTimestamp)
                     && this.Attributes.Equals(that.Attributes)
                     && this.Annotations.Equals(that.Annotations)
                     && this.MessageEvents.Equals(that.MessageEvents)
                     && this.Links.Equals(that.Links)
                     && ((this.ChildSpanCount == null) ? (that.ChildSpanCount == null) : this.ChildSpanCount.Equals(that.ChildSpanCount))
                     && ((this.Status == null) ? (that.Status == null) : this.Status.Equals(that.Status))
                     && ((this.EndTimestamp == null) ? (that.EndTimestamp == null) : this.EndTimestamp.Equals(that.EndTimestamp));
            }

            return false;
        }

19 View Source File : AcropolisProtectionSource.cs
License : Apache License 2.0
Project Creator : cohesity

public bool Equals(AcropolisProtectionSource input)
        {
            if (input == null)
                return false;

            return 
                (
                    this.ClusterUuid == input.ClusterUuid ||
                    (this.ClusterUuid != null &&
                    this.ClusterUuid.Equals(input.ClusterUuid))
                ) && 
                (
                    this.Description == input.Description ||
                    (this.Description != null &&
                    this.Description.Equals(input.Description))
                ) && 
                (
                    this.MountPath == input.MountPath ||
                    (this.MountPath != null &&
                    this.MountPath.Equals(input.MountPath))
                ) && 
                (
                    this.Name == input.Name ||
                    (this.Name != null &&
                    this.Name.Equals(input.Name))
                ) && 
                (
                    this.Type == input.Type ||
                    this.Type.Equals(input.Type)
                ) && 
                (
                    this.Uuid == input.Uuid ||
                    (this.Uuid != null &&
                    this.Uuid.Equals(input.Uuid))
                ) && 
                (
                    this.Version == input.Version ||
                    (this.Version != null &&
                    this.Version.Equals(input.Version))
                );
        }

19 View Source File : AcropolisRestoreParameters.cs
License : Apache License 2.0
Project Creator : cohesity

public bool Equals(AcropolisRestoreParameters input)
        {
            if (input == null)
                return false;

            return 
                (
                    this.DisableNetwork == input.DisableNetwork ||
                    (this.DisableNetwork != null &&
                    this.DisableNetwork.Equals(input.DisableNetwork))
                ) && 
                (
                    this.NetworkId == input.NetworkId ||
                    (this.NetworkId != null &&
                    this.NetworkId.Equals(input.NetworkId))
                ) && 
                (
                    this.PoweredOn == input.PoweredOn ||
                    (this.PoweredOn != null &&
                    this.PoweredOn.Equals(input.PoweredOn))
                ) && 
                (
                    this.Prefix == input.Prefix ||
                    (this.Prefix != null &&
                    this.Prefix.Equals(input.Prefix))
                ) && 
                (
                    this.StorageContainerId == input.StorageContainerId ||
                    (this.StorageContainerId != null &&
                    this.StorageContainerId.Equals(input.StorageContainerId))
                ) && 
                (
                    this.Suffix == input.Suffix ||
                    (this.Suffix != null &&
                    this.Suffix.Equals(input.Suffix))
                );
        }

19 View Source File : AddedActiveDirectoryPrincipal.cs
License : Apache License 2.0
Project Creator : cohesity

public bool Equals(AddedActiveDirectoryPrincipal input)
        {
            if (input == null)
                return false;

            return 
                (
                    this.CreatedTimeMsecs == input.CreatedTimeMsecs ||
                    (this.CreatedTimeMsecs != null &&
                    this.CreatedTimeMsecs.Equals(input.CreatedTimeMsecs))
                ) && 
                (
                    this.Description == input.Description ||
                    (this.Description != null &&
                    this.Description.Equals(input.Description))
                ) && 
                (
                    this.Domain == input.Domain ||
                    (this.Domain != null &&
                    this.Domain.Equals(input.Domain))
                ) && 
                (
                    this.LastUpdatedTimeMsecs == input.LastUpdatedTimeMsecs ||
                    (this.LastUpdatedTimeMsecs != null &&
                    this.LastUpdatedTimeMsecs.Equals(input.LastUpdatedTimeMsecs))
                ) && 
                (
                    this.ObjectClreplaced == input.ObjectClreplaced ||
                    this.ObjectClreplaced.Equals(input.ObjectClreplaced)
                ) && 
                (
                    this.PrincipalName == input.PrincipalName ||
                    (this.PrincipalName != null &&
                    this.PrincipalName.Equals(input.PrincipalName))
                ) && 
                (
                    this.Restricted == input.Restricted ||
                    (this.Restricted != null &&
                    this.Restricted.Equals(input.Restricted))
                ) && 
                (
                    this.Roles == input.Roles ||
                    this.Roles != null &&
                    input.Roles != null &&
                    this.Roles.SequenceEqual(input.Roles)
                ) && 
                (
                    this.Sid == input.Sid ||
                    (this.Sid != null &&
                    this.Sid.Equals(input.Sid))
                );
        }

19 View Source File : AddedIdpPrincipal.cs
License : Apache License 2.0
Project Creator : cohesity

public bool Equals(AddedIdpPrincipal input)
        {
            if (input == null)
                return false;

            return 
                (
                    this.CreatedTimeMsecs == input.CreatedTimeMsecs ||
                    (this.CreatedTimeMsecs != null &&
                    this.CreatedTimeMsecs.Equals(input.CreatedTimeMsecs))
                ) && 
                (
                    this.Domain == input.Domain ||
                    (this.Domain != null &&
                    this.Domain.Equals(input.Domain))
                ) && 
                (
                    this.LastUpdatedTimeMsecs == input.LastUpdatedTimeMsecs ||
                    (this.LastUpdatedTimeMsecs != null &&
                    this.LastUpdatedTimeMsecs.Equals(input.LastUpdatedTimeMsecs))
                ) && 
                (
                    this.ObjectClreplaced == input.ObjectClreplaced ||
                    this.ObjectClreplaced.Equals(input.ObjectClreplaced)
                ) && 
                (
                    this.PrincipalName == input.PrincipalName ||
                    (this.PrincipalName != null &&
                    this.PrincipalName.Equals(input.PrincipalName))
                ) && 
                (
                    this.Restricted == input.Restricted ||
                    (this.Restricted != null &&
                    this.Restricted.Equals(input.Restricted))
                ) && 
                (
                    this.Roles == input.Roles ||
                    this.Roles != null &&
                    input.Roles != null &&
                    this.Roles.SequenceEqual(input.Roles)
                ) && 
                (
                    this.Sid == input.Sid ||
                    (this.Sid != null &&
                    this.Sid.Equals(input.Sid))
                );
        }

19 View Source File : AdditionalConnectorParams.cs
License : Apache License 2.0
Project Creator : cohesity

public bool Equals(AdditionalConnectorParams input)
        {
            if (input == null)
                return false;

            return 
                (
                    this.O365Region == input.O365Region ||
                    (this.O365Region != null &&
                    this.O365Region.Equals(input.O365Region))
                ) && 
                (
                    this.UseOutlookEwsOauth == input.UseOutlookEwsOauth ||
                    (this.UseOutlookEwsOauth != null &&
                    this.UseOutlookEwsOauth.Equals(input.UseOutlookEwsOauth))
                );
        }

See More Examples