/// <summary> /// Returns true if ComAdobeCqCdnRewriterImplCDNRewriterProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeCqCdnRewriterImplCDNRewriterProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeCqCdnRewriterImplCDNRewriterProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ServiceRanking == other.ServiceRanking || ServiceRanking != null && ServiceRanking.Equals(other.ServiceRanking) ) && ( CdnrewriterAttributes == other.CdnrewriterAttributes || CdnrewriterAttributes != null && CdnrewriterAttributes.Equals(other.CdnrewriterAttributes) ) && ( CdnRewriterDistributionDomain == other.CdnRewriterDistributionDomain || CdnRewriterDistributionDomain != null && CdnRewriterDistributionDomain.Equals(other.CdnRewriterDistributionDomain) )); }
/// <summary> /// Returns true if ComAdobeCqDamWebdavImplIoAssetIOHandlerProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeCqDamWebdavImplIoAssetIOHandlerProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeCqDamWebdavImplIoAssetIOHandlerProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ServiceRanking == other.ServiceRanking || ServiceRanking != null && ServiceRanking.Equals(other.ServiceRanking) ) && ( PathPrefix == other.PathPrefix || PathPrefix != null && PathPrefix.Equals(other.PathPrefix) ) && ( CreateVersion == other.CreateVersion || CreateVersion != null && CreateVersion.Equals(other.CreateVersion) )); }
/// <summary> /// Returns true if OrgApacheSlingJcrWebdavImplHandlerDefaultHandlerServiceProperties instances are equal /// </summary> /// <param name="other">Instance of OrgApacheSlingJcrWebdavImplHandlerDefaultHandlerServiceProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(OrgApacheSlingJcrWebdavImplHandlerDefaultHandlerServiceProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ServiceRanking == other.ServiceRanking || ServiceRanking != null && ServiceRanking.Equals(other.ServiceRanking) ) && ( TypeCollections == other.TypeCollections || TypeCollections != null && TypeCollections.Equals(other.TypeCollections) ) && ( TypeNoncollections == other.TypeNoncollections || TypeNoncollections != null && TypeNoncollections.Equals(other.TypeNoncollections) ) && ( TypeContent == other.TypeContent || TypeContent != null && TypeContent.Equals(other.TypeContent) )); }
/// <summary> /// Returns true if ComAdobeGraniteRepositoryServiceUserConfigurationProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeGraniteRepositoryServiceUserConfigurationProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeGraniteRepositoryServiceUserConfigurationProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ServiceRanking == other.ServiceRanking || ServiceRanking != null && ServiceRanking.Equals(other.ServiceRanking) ) && ( ServiceusersSimpleSubjectPopulation == other.ServiceusersSimpleSubjectPopulation || ServiceusersSimpleSubjectPopulation != null && ServiceusersSimpleSubjectPopulation.Equals(other.ServiceusersSimpleSubjectPopulation) ) && ( ServiceusersList == other.ServiceusersList || ServiceusersList != null && ServiceusersList.Equals(other.ServiceusersList) )); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (ServiceRanking != null) { hashCode = hashCode * 59 + ServiceRanking.GetHashCode(); } if (KeypairId != null) { hashCode = hashCode * 59 + KeypairId.GetHashCode(); } if (KeypairAlias != null) { hashCode = hashCode * 59 + KeypairAlias.GetHashCode(); } if (CdnrewriterAttributes != null) { hashCode = hashCode * 59 + CdnrewriterAttributes.GetHashCode(); } if (CdnRewriterDistributionDomain != null) { hashCode = hashCode * 59 + CdnRewriterDistributionDomain.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (ServiceRanking != null) { hashCode = hashCode * 59 + ServiceRanking.GetHashCode(); } if (TypeCollections != null) { hashCode = hashCode * 59 + TypeCollections.GetHashCode(); } if (TypeNoncollections != null) { hashCode = hashCode * 59 + TypeNoncollections.GetHashCode(); } if (TypeContent != null) { hashCode = hashCode * 59 + TypeContent.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (ServiceRanking != null) { hashCode = hashCode * 59 + ServiceRanking.GetHashCode(); } if (PathPrefix != null) { hashCode = hashCode * 59 + PathPrefix.GetHashCode(); } if (CreateVersion != null) { hashCode = hashCode * 59 + CreateVersion.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (ServiceRanking != null) { hashCode = hashCode * 59 + ServiceRanking.GetHashCode(); } if (ServiceusersSimpleSubjectPopulation != null) { hashCode = hashCode * 59 + ServiceusersSimpleSubjectPopulation.GetHashCode(); } if (ServiceusersList != null) { hashCode = hashCode * 59 + ServiceusersList.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if ComAdobeCqCdnRewriterImplAWSCloudFrontRewriterProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeCqCdnRewriterImplAWSCloudFrontRewriterProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeCqCdnRewriterImplAWSCloudFrontRewriterProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ServiceRanking == other.ServiceRanking || ServiceRanking != null && ServiceRanking.Equals(other.ServiceRanking) ) && ( KeypairId == other.KeypairId || KeypairId != null && KeypairId.Equals(other.KeypairId) ) && ( KeypairAlias == other.KeypairAlias || KeypairAlias != null && KeypairAlias.Equals(other.KeypairAlias) ) && ( CdnrewriterAttributes == other.CdnrewriterAttributes || CdnrewriterAttributes != null && CdnrewriterAttributes.Equals(other.CdnrewriterAttributes) ) && ( CdnRewriterDistributionDomain == other.CdnRewriterDistributionDomain || CdnRewriterDistributionDomain != null && CdnRewriterDistributionDomain.Equals(other.CdnRewriterDistributionDomain) )); }
/// <summary> /// Returns true if ComDayCqMcmCampaignImporterPersonalizedTextHandlerFactoryProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqMcmCampaignImporterPersonalizedTextHandlerFactoryProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqMcmCampaignImporterPersonalizedTextHandlerFactoryProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ServiceRanking == other.ServiceRanking || ServiceRanking != null && ServiceRanking.Equals(other.ServiceRanking) ) && ( Tagpattern == other.Tagpattern || Tagpattern != null && Tagpattern.Equals(other.Tagpattern) )); }
/// <summary> /// Returns true if OrgApacheSlingI18nImplI18NFilterProperties instances are equal /// </summary> /// <param name="other">Instance of OrgApacheSlingI18nImplI18NFilterProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(OrgApacheSlingI18nImplI18NFilterProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ServiceRanking == other.ServiceRanking || ServiceRanking != null && ServiceRanking.Equals(other.ServiceRanking) ) && ( SlingFilterScope == other.SlingFilterScope || SlingFilterScope != null && SlingFilterScope.Equals(other.SlingFilterScope) )); }
/// <summary> /// Returns true if ComDayCqMcmLandingpageParserTaghandlersMboxMBoxExperienceTagHaProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqMcmLandingpageParserTaghandlersMboxMBoxExperienceTagHaProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqMcmLandingpageParserTaghandlersMboxMBoxExperienceTagHaProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ServiceRanking == other.ServiceRanking || ServiceRanking != null && ServiceRanking.Equals(other.ServiceRanking) ) && ( Tagpattern == other.Tagpattern || Tagpattern != null && Tagpattern.Equals(other.Tagpattern) )); }
/// <summary> /// Returns true if OrgApacheSlingServiceusermappingImplServiceUserMapperImplAmendedProperties instances are equal /// </summary> /// <param name="other">Instance of OrgApacheSlingServiceusermappingImplServiceUserMapperImplAmendedProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(OrgApacheSlingServiceusermappingImplServiceUserMapperImplAmendedProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ServiceRanking == other.ServiceRanking || ServiceRanking != null && ServiceRanking.Equals(other.ServiceRanking) ) && ( UserMapping == other.UserMapping || UserMapping != null && UserMapping.Equals(other.UserMapping) )); }
/// <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) )); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (ServiceRanking != null) { hashCode = hashCode * 59 + ServiceRanking.GetHashCode(); } if (GlobalSize != null) { hashCode = hashCode * 59 + GlobalSize.GetHashCode(); } if (MaxDiskUsage != null) { hashCode = hashCode * 59 + MaxDiskUsage.GetHashCode(); } if (PersistenceEnabled != null) { hashCode = hashCode * 59 + PersistenceEnabled.GetHashCode(); } if (ThreadPoolMaxSize != null) { hashCode = hashCode * 59 + ThreadPoolMaxSize.GetHashCode(); } if (ScheduledThreadPoolMaxSize != null) { hashCode = hashCode * 59 + ScheduledThreadPoolMaxSize.GetHashCode(); } if (GracefulShutdownTimeout != null) { hashCode = hashCode * 59 + GracefulShutdownTimeout.GetHashCode(); } if (Queues != null) { hashCode = hashCode * 59 + Queues.GetHashCode(); } if (Topics != null) { hashCode = hashCode * 59 + Topics.GetHashCode(); } if (AddressesMaxDeliveryAttempts != null) { hashCode = hashCode * 59 + AddressesMaxDeliveryAttempts.GetHashCode(); } if (AddressesExpiryDelay != null) { hashCode = hashCode * 59 + AddressesExpiryDelay.GetHashCode(); } if (AddressesAddressFullMessagePolicy != null) { hashCode = hashCode * 59 + AddressesAddressFullMessagePolicy.GetHashCode(); } if (AddressesMaxSizeBytes != null) { hashCode = hashCode * 59 + AddressesMaxSizeBytes.GetHashCode(); } if (AddressesPageSizeBytes != null) { hashCode = hashCode * 59 + AddressesPageSizeBytes.GetHashCode(); } if (AddressesPageCacheMaxSize != null) { hashCode = hashCode * 59 + AddressesPageCacheMaxSize.GetHashCode(); } if (ClusterUser != null) { hashCode = hashCode * 59 + ClusterUser.GetHashCode(); } if (ClusterPassword != null) { hashCode = hashCode * 59 + ClusterPassword.GetHashCode(); } if (ClusterCallTimeout != null) { hashCode = hashCode * 59 + ClusterCallTimeout.GetHashCode(); } if (ClusterCallFailoverTimeout != null) { hashCode = hashCode * 59 + ClusterCallFailoverTimeout.GetHashCode(); } if (ClusterClientFailureCheckPeriod != null) { hashCode = hashCode * 59 + ClusterClientFailureCheckPeriod.GetHashCode(); } if (ClusterNotificationAttempts != null) { hashCode = hashCode * 59 + ClusterNotificationAttempts.GetHashCode(); } if (ClusterNotificationInterval != null) { hashCode = hashCode * 59 + ClusterNotificationInterval.GetHashCode(); } if (IdCacheSize != null) { hashCode = hashCode * 59 + IdCacheSize.GetHashCode(); } if (ClusterConfirmationWindowSize != null) { hashCode = hashCode * 59 + ClusterConfirmationWindowSize.GetHashCode(); } if (ClusterConnectionTtl != null) { hashCode = hashCode * 59 + ClusterConnectionTtl.GetHashCode(); } if (ClusterDuplicateDetection != null) { hashCode = hashCode * 59 + ClusterDuplicateDetection.GetHashCode(); } if (ClusterInitialConnectAttempts != null) { hashCode = hashCode * 59 + ClusterInitialConnectAttempts.GetHashCode(); } if (ClusterMaxRetryInterval != null) { hashCode = hashCode * 59 + ClusterMaxRetryInterval.GetHashCode(); } if (ClusterMinLargeMessageSize != null) { hashCode = hashCode * 59 + ClusterMinLargeMessageSize.GetHashCode(); } if (ClusterProducerWindowSize != null) { hashCode = hashCode * 59 + ClusterProducerWindowSize.GetHashCode(); } if (ClusterReconnectAttempts != null) { hashCode = hashCode * 59 + ClusterReconnectAttempts.GetHashCode(); } if (ClusterRetryInterval != null) { hashCode = hashCode * 59 + ClusterRetryInterval.GetHashCode(); } if (ClusterRetryIntervalMultiplier != null) { hashCode = hashCode * 59 + ClusterRetryIntervalMultiplier.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if SamlConfigurationProperties instances are equal /// </summary> /// <param name="other">Instance of SamlConfigurationProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(SamlConfigurationProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Path == other.Path || Path != null && Path.Equals(other.Path) ) && ( ServiceRanking == other.ServiceRanking || ServiceRanking != null && ServiceRanking.Equals(other.ServiceRanking) ) && ( IdpUrl == other.IdpUrl || IdpUrl != null && IdpUrl.Equals(other.IdpUrl) ) && ( IdpCertAlias == other.IdpCertAlias || IdpCertAlias != null && IdpCertAlias.Equals(other.IdpCertAlias) ) && ( IdpHttpRedirect == other.IdpHttpRedirect || IdpHttpRedirect != null && IdpHttpRedirect.Equals(other.IdpHttpRedirect) ) && ( ServiceProviderEntityId == other.ServiceProviderEntityId || ServiceProviderEntityId != null && ServiceProviderEntityId.Equals(other.ServiceProviderEntityId) ) && ( AssertionConsumerServiceURL == other.AssertionConsumerServiceURL || AssertionConsumerServiceURL != null && AssertionConsumerServiceURL.Equals(other.AssertionConsumerServiceURL) ) && ( SpPrivateKeyAlias == other.SpPrivateKeyAlias || SpPrivateKeyAlias != null && SpPrivateKeyAlias.Equals(other.SpPrivateKeyAlias) ) && ( KeyStorePassword == other.KeyStorePassword || KeyStorePassword != null && KeyStorePassword.Equals(other.KeyStorePassword) ) && ( DefaultRedirectUrl == other.DefaultRedirectUrl || DefaultRedirectUrl != null && DefaultRedirectUrl.Equals(other.DefaultRedirectUrl) ) && ( UserIDAttribute == other.UserIDAttribute || UserIDAttribute != null && UserIDAttribute.Equals(other.UserIDAttribute) ) && ( UseEncryption == other.UseEncryption || UseEncryption != null && UseEncryption.Equals(other.UseEncryption) ) && ( CreateUser == other.CreateUser || CreateUser != null && CreateUser.Equals(other.CreateUser) ) && ( AddGroupMemberships == other.AddGroupMemberships || AddGroupMemberships != null && AddGroupMemberships.Equals(other.AddGroupMemberships) ) && ( GroupMembershipAttribute == other.GroupMembershipAttribute || GroupMembershipAttribute != null && GroupMembershipAttribute.Equals(other.GroupMembershipAttribute) ) && ( DefaultGroups == other.DefaultGroups || DefaultGroups != null && DefaultGroups.Equals(other.DefaultGroups) ) && ( NameIdFormat == other.NameIdFormat || NameIdFormat != null && NameIdFormat.Equals(other.NameIdFormat) ) && ( SynchronizeAttributes == other.SynchronizeAttributes || SynchronizeAttributes != null && SynchronizeAttributes.Equals(other.SynchronizeAttributes) ) && ( HandleLogout == other.HandleLogout || HandleLogout != null && HandleLogout.Equals(other.HandleLogout) ) && ( LogoutUrl == other.LogoutUrl || LogoutUrl != null && LogoutUrl.Equals(other.LogoutUrl) ) && ( ClockTolerance == other.ClockTolerance || ClockTolerance != null && ClockTolerance.Equals(other.ClockTolerance) ) && ( DigestMethod == other.DigestMethod || DigestMethod != null && DigestMethod.Equals(other.DigestMethod) ) && ( SignatureMethod == other.SignatureMethod || SignatureMethod != null && SignatureMethod.Equals(other.SignatureMethod) ) && ( UserIntermediatePath == other.UserIntermediatePath || UserIntermediatePath != null && UserIntermediatePath.Equals(other.UserIntermediatePath) )); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Path != null) { hashCode = hashCode * 59 + Path.GetHashCode(); } if (ServiceRanking != null) { hashCode = hashCode * 59 + ServiceRanking.GetHashCode(); } if (IdpUrl != null) { hashCode = hashCode * 59 + IdpUrl.GetHashCode(); } if (IdpCertAlias != null) { hashCode = hashCode * 59 + IdpCertAlias.GetHashCode(); } if (IdpHttpRedirect != null) { hashCode = hashCode * 59 + IdpHttpRedirect.GetHashCode(); } if (ServiceProviderEntityId != null) { hashCode = hashCode * 59 + ServiceProviderEntityId.GetHashCode(); } if (AssertionConsumerServiceURL != null) { hashCode = hashCode * 59 + AssertionConsumerServiceURL.GetHashCode(); } if (SpPrivateKeyAlias != null) { hashCode = hashCode * 59 + SpPrivateKeyAlias.GetHashCode(); } if (KeyStorePassword != null) { hashCode = hashCode * 59 + KeyStorePassword.GetHashCode(); } if (DefaultRedirectUrl != null) { hashCode = hashCode * 59 + DefaultRedirectUrl.GetHashCode(); } if (UserIDAttribute != null) { hashCode = hashCode * 59 + UserIDAttribute.GetHashCode(); } if (UseEncryption != null) { hashCode = hashCode * 59 + UseEncryption.GetHashCode(); } if (CreateUser != null) { hashCode = hashCode * 59 + CreateUser.GetHashCode(); } if (AddGroupMemberships != null) { hashCode = hashCode * 59 + AddGroupMemberships.GetHashCode(); } if (GroupMembershipAttribute != null) { hashCode = hashCode * 59 + GroupMembershipAttribute.GetHashCode(); } if (DefaultGroups != null) { hashCode = hashCode * 59 + DefaultGroups.GetHashCode(); } if (NameIdFormat != null) { hashCode = hashCode * 59 + NameIdFormat.GetHashCode(); } if (SynchronizeAttributes != null) { hashCode = hashCode * 59 + SynchronizeAttributes.GetHashCode(); } if (HandleLogout != null) { hashCode = hashCode * 59 + HandleLogout.GetHashCode(); } if (LogoutUrl != null) { hashCode = hashCode * 59 + LogoutUrl.GetHashCode(); } if (ClockTolerance != null) { hashCode = hashCode * 59 + ClockTolerance.GetHashCode(); } if (DigestMethod != null) { hashCode = hashCode * 59 + DigestMethod.GetHashCode(); } if (SignatureMethod != null) { hashCode = hashCode * 59 + SignatureMethod.GetHashCode(); } if (UserIntermediatePath != null) { hashCode = hashCode * 59 + UserIntermediatePath.GetHashCode(); } return(hashCode); } }