/// <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 (ShowPlaceholder != null) { hashCode = hashCode * 59 + ShowPlaceholder.GetHashCode(); } if (MaximumCacheEntries != null) { hashCode = hashCode * 59 + MaximumCacheEntries.GetHashCode(); } if (AfScriptingCompatversion != null) { hashCode = hashCode * 59 + AfScriptingCompatversion.GetHashCode(); } if (MakeFileNameUnique != null) { hashCode = hashCode * 59 + MakeFileNameUnique.GetHashCode(); } if (GeneratingCompliantData != null) { hashCode = hashCode * 59 + GeneratingCompliantData.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if AdaptiveFormAndInteractiveCommunicationWebChannelConfigurationProperties instances are equal /// </summary> /// <param name="other">Instance of AdaptiveFormAndInteractiveCommunicationWebChannelConfigurationProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(AdaptiveFormAndInteractiveCommunicationWebChannelConfigurationProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ShowPlaceholder == other.ShowPlaceholder || ShowPlaceholder != null && ShowPlaceholder.Equals(other.ShowPlaceholder) ) && ( MaximumCacheEntries == other.MaximumCacheEntries || MaximumCacheEntries != null && MaximumCacheEntries.Equals(other.MaximumCacheEntries) ) && ( AfScriptingCompatversion == other.AfScriptingCompatversion || AfScriptingCompatversion != null && AfScriptingCompatversion.Equals(other.AfScriptingCompatversion) ) && ( MakeFileNameUnique == other.MakeFileNameUnique || MakeFileNameUnique != null && MakeFileNameUnique.Equals(other.MakeFileNameUnique) ) && ( GeneratingCompliantData == other.GeneratingCompliantData || GeneratingCompliantData != null && GeneratingCompliantData.Equals(other.GeneratingCompliantData) )); }