/// <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 (CreatePreviewEnabled != null) { hashCode = hashCode * 59 + CreatePreviewEnabled.GetHashCode(); } if (UpdatePreviewEnabled != null) { hashCode = hashCode * 59 + UpdatePreviewEnabled.GetHashCode(); } if (QueueSize != null) { hashCode = hashCode * 59 + QueueSize.GetHashCode(); } if (FolderPreviewRenditionRegex != null) { hashCode = hashCode * 59 + FolderPreviewRenditionRegex.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 (PoolSize != null) { hashCode = hashCode * 59 + PoolSize.GetHashCode(); } if (MaxPoolSize != null) { hashCode = hashCode * 59 + MaxPoolSize.GetHashCode(); } if (QueueSize != null) { hashCode = hashCode * 59 + QueueSize.GetHashCode(); } if (KeepAliveTime != null) { hashCode = hashCode * 59 + KeepAliveTime.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 (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (MinPoolSize != null) { hashCode = hashCode * 59 + MinPoolSize.GetHashCode(); } if (MaxPoolSize != null) { hashCode = hashCode * 59 + MaxPoolSize.GetHashCode(); } if (QueueSize != null) { hashCode = hashCode * 59 + QueueSize.GetHashCode(); } if (MaxThreadAge != null) { hashCode = hashCode * 59 + MaxThreadAge.GetHashCode(); } if (KeepAliveTime != null) { hashCode = hashCode * 59 + KeepAliveTime.GetHashCode(); } if (BlockPolicy != null) { hashCode = hashCode * 59 + BlockPolicy.GetHashCode(); } if (ShutdownGraceful != null) { hashCode = hashCode * 59 + ShutdownGraceful.GetHashCode(); } if (Daemon != null) { hashCode = hashCode * 59 + Daemon.GetHashCode(); } if (ShutdownWaitTime != null) { hashCode = hashCode * 59 + ShutdownWaitTime.GetHashCode(); } if (Priority != null) { hashCode = hashCode * 59 + Priority.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 (EventTopics != null) { hashCode = hashCode * 59 + EventTopics.GetHashCode(); } if (EventFilter != null) { hashCode = hashCode * 59 + EventFilter.GetHashCode(); } if (TranslateListenerType != null) { hashCode = hashCode * 59 + TranslateListenerType.GetHashCode(); } if (TranslatePropertyList != null) { hashCode = hashCode * 59 + TranslatePropertyList.GetHashCode(); } if (PoolSize != null) { hashCode = hashCode * 59 + PoolSize.GetHashCode(); } if (MaxPoolSize != null) { hashCode = hashCode * 59 + MaxPoolSize.GetHashCode(); } if (QueueSize != null) { hashCode = hashCode * 59 + QueueSize.GetHashCode(); } if (KeepAliveTime != null) { hashCode = hashCode * 59 + KeepAliveTime.GetHashCode(); } return(hashCode); } }