Ejemplo n.º 1
0
 /// <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 (CqDamScene7UploadserviceActivejobtimeoutLabel != null)
         {
             hashCode = hashCode * 59 + CqDamScene7UploadserviceActivejobtimeoutLabel.GetHashCode();
         }
         if (CqDamScene7UploadserviceConnectionmaxperrouteLabel != null)
         {
             hashCode = hashCode * 59 + CqDamScene7UploadserviceConnectionmaxperrouteLabel.GetHashCode();
         }
         return(hashCode);
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns true if ComDayCqDamScene7ImplScene7UploadServiceImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqDamScene7ImplScene7UploadServiceImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqDamScene7ImplScene7UploadServiceImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     CqDamScene7UploadserviceActivejobtimeoutLabel == other.CqDamScene7UploadserviceActivejobtimeoutLabel ||
                     CqDamScene7UploadserviceActivejobtimeoutLabel != null &&
                     CqDamScene7UploadserviceActivejobtimeoutLabel.Equals(other.CqDamScene7UploadserviceActivejobtimeoutLabel)
                     ) &&
                 (
                     CqDamScene7UploadserviceConnectionmaxperrouteLabel == other.CqDamScene7UploadserviceConnectionmaxperrouteLabel ||
                     CqDamScene7UploadserviceConnectionmaxperrouteLabel != null &&
                     CqDamScene7UploadserviceConnectionmaxperrouteLabel.Equals(other.CqDamScene7UploadserviceConnectionmaxperrouteLabel)
                 ));
        }