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

            return
                ((
                     ServiceRanking == other.ServiceRanking ||
                     ServiceRanking != null &&
                     ServiceRanking.Equals(other.ServiceRanking)
                     ) &&
                 (
                     GlobalSize == other.GlobalSize ||
                     GlobalSize != null &&
                     GlobalSize.Equals(other.GlobalSize)
                 ) &&
                 (
                     MaxDiskUsage == other.MaxDiskUsage ||
                     MaxDiskUsage != null &&
                     MaxDiskUsage.Equals(other.MaxDiskUsage)
                 ) &&
                 (
                     PersistenceEnabled == other.PersistenceEnabled ||
                     PersistenceEnabled != null &&
                     PersistenceEnabled.Equals(other.PersistenceEnabled)
                 ) &&
                 (
                     ThreadPoolMaxSize == other.ThreadPoolMaxSize ||
                     ThreadPoolMaxSize != null &&
                     ThreadPoolMaxSize.Equals(other.ThreadPoolMaxSize)
                 ) &&
                 (
                     ScheduledThreadPoolMaxSize == other.ScheduledThreadPoolMaxSize ||
                     ScheduledThreadPoolMaxSize != null &&
                     ScheduledThreadPoolMaxSize.Equals(other.ScheduledThreadPoolMaxSize)
                 ) &&
                 (
                     GracefulShutdownTimeout == other.GracefulShutdownTimeout ||
                     GracefulShutdownTimeout != null &&
                     GracefulShutdownTimeout.Equals(other.GracefulShutdownTimeout)
                 ) &&
                 (
                     Queues == other.Queues ||
                     Queues != null &&
                     Queues.Equals(other.Queues)
                 ) &&
                 (
                     Topics == other.Topics ||
                     Topics != null &&
                     Topics.Equals(other.Topics)
                 ) &&
                 (
                     AddressesMaxDeliveryAttempts == other.AddressesMaxDeliveryAttempts ||
                     AddressesMaxDeliveryAttempts != null &&
                     AddressesMaxDeliveryAttempts.Equals(other.AddressesMaxDeliveryAttempts)
                 ) &&
                 (
                     AddressesExpiryDelay == other.AddressesExpiryDelay ||
                     AddressesExpiryDelay != null &&
                     AddressesExpiryDelay.Equals(other.AddressesExpiryDelay)
                 ) &&
                 (
                     AddressesAddressFullMessagePolicy == other.AddressesAddressFullMessagePolicy ||
                     AddressesAddressFullMessagePolicy != null &&
                     AddressesAddressFullMessagePolicy.Equals(other.AddressesAddressFullMessagePolicy)
                 ) &&
                 (
                     AddressesMaxSizeBytes == other.AddressesMaxSizeBytes ||
                     AddressesMaxSizeBytes != null &&
                     AddressesMaxSizeBytes.Equals(other.AddressesMaxSizeBytes)
                 ) &&
                 (
                     AddressesPageSizeBytes == other.AddressesPageSizeBytes ||
                     AddressesPageSizeBytes != null &&
                     AddressesPageSizeBytes.Equals(other.AddressesPageSizeBytes)
                 ) &&
                 (
                     AddressesPageCacheMaxSize == other.AddressesPageCacheMaxSize ||
                     AddressesPageCacheMaxSize != null &&
                     AddressesPageCacheMaxSize.Equals(other.AddressesPageCacheMaxSize)
                 ) &&
                 (
                     ClusterUser == other.ClusterUser ||
                     ClusterUser != null &&
                     ClusterUser.Equals(other.ClusterUser)
                 ) &&
                 (
                     ClusterPassword == other.ClusterPassword ||
                     ClusterPassword != null &&
                     ClusterPassword.Equals(other.ClusterPassword)
                 ) &&
                 (
                     ClusterCallTimeout == other.ClusterCallTimeout ||
                     ClusterCallTimeout != null &&
                     ClusterCallTimeout.Equals(other.ClusterCallTimeout)
                 ) &&
                 (
                     ClusterCallFailoverTimeout == other.ClusterCallFailoverTimeout ||
                     ClusterCallFailoverTimeout != null &&
                     ClusterCallFailoverTimeout.Equals(other.ClusterCallFailoverTimeout)
                 ) &&
                 (
                     ClusterClientFailureCheckPeriod == other.ClusterClientFailureCheckPeriod ||
                     ClusterClientFailureCheckPeriod != null &&
                     ClusterClientFailureCheckPeriod.Equals(other.ClusterClientFailureCheckPeriod)
                 ) &&
                 (
                     ClusterNotificationAttempts == other.ClusterNotificationAttempts ||
                     ClusterNotificationAttempts != null &&
                     ClusterNotificationAttempts.Equals(other.ClusterNotificationAttempts)
                 ) &&
                 (
                     ClusterNotificationInterval == other.ClusterNotificationInterval ||
                     ClusterNotificationInterval != null &&
                     ClusterNotificationInterval.Equals(other.ClusterNotificationInterval)
                 ) &&
                 (
                     IdCacheSize == other.IdCacheSize ||
                     IdCacheSize != null &&
                     IdCacheSize.Equals(other.IdCacheSize)
                 ) &&
                 (
                     ClusterConfirmationWindowSize == other.ClusterConfirmationWindowSize ||
                     ClusterConfirmationWindowSize != null &&
                     ClusterConfirmationWindowSize.Equals(other.ClusterConfirmationWindowSize)
                 ) &&
                 (
                     ClusterConnectionTtl == other.ClusterConnectionTtl ||
                     ClusterConnectionTtl != null &&
                     ClusterConnectionTtl.Equals(other.ClusterConnectionTtl)
                 ) &&
                 (
                     ClusterDuplicateDetection == other.ClusterDuplicateDetection ||
                     ClusterDuplicateDetection != null &&
                     ClusterDuplicateDetection.Equals(other.ClusterDuplicateDetection)
                 ) &&
                 (
                     ClusterInitialConnectAttempts == other.ClusterInitialConnectAttempts ||
                     ClusterInitialConnectAttempts != null &&
                     ClusterInitialConnectAttempts.Equals(other.ClusterInitialConnectAttempts)
                 ) &&
                 (
                     ClusterMaxRetryInterval == other.ClusterMaxRetryInterval ||
                     ClusterMaxRetryInterval != null &&
                     ClusterMaxRetryInterval.Equals(other.ClusterMaxRetryInterval)
                 ) &&
                 (
                     ClusterMinLargeMessageSize == other.ClusterMinLargeMessageSize ||
                     ClusterMinLargeMessageSize != null &&
                     ClusterMinLargeMessageSize.Equals(other.ClusterMinLargeMessageSize)
                 ) &&
                 (
                     ClusterProducerWindowSize == other.ClusterProducerWindowSize ||
                     ClusterProducerWindowSize != null &&
                     ClusterProducerWindowSize.Equals(other.ClusterProducerWindowSize)
                 ) &&
                 (
                     ClusterReconnectAttempts == other.ClusterReconnectAttempts ||
                     ClusterReconnectAttempts != null &&
                     ClusterReconnectAttempts.Equals(other.ClusterReconnectAttempts)
                 ) &&
                 (
                     ClusterRetryInterval == other.ClusterRetryInterval ||
                     ClusterRetryInterval != null &&
                     ClusterRetryInterval.Equals(other.ClusterRetryInterval)
                 ) &&
                 (
                     ClusterRetryIntervalMultiplier == other.ClusterRetryIntervalMultiplier ||
                     ClusterRetryIntervalMultiplier != null &&
                     ClusterRetryIntervalMultiplier.Equals(other.ClusterRetryIntervalMultiplier)
                 ));
        }