Example #1
0
        public override int GetHashCode()
        {
            var hashCode = -1235707855;

            hashCode = (hashCode * -1521134295) + RegisterName.GetHashCode();
            return(hashCode);
        }
Example #2
0
 /// <summary>
 /// Calculates hash code based on the contained data.
 /// </summary>
 /// <returns>The hash code of the object.</returns>
 public override int GetHashCode()
 {
     return
         (DisplayName.GetHashCode() +
          Username.GetHashCode() +
          RegisterName.GetHashCode() +
          Password.GetHashCode() +
          Domain.GetHashCode() +
          Proxy.GetHashCode() +
          RegRequired.GetHashCode());
 }
Example #3
0
 public override int GetHashCode()
 {
     return(RegisterName != null ? RegisterName.GetHashCode() : 0);
 }