public override int GetHashCode() { unchecked { int hashCode = Name?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (Description?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ QueryTimeoutMs.GetHashCode(); hashCode = (hashCode * 397) ^ PollIntervalSeconds; hashCode = (hashCode * 397) ^ (ConnectionString?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); hashCode = (hashCode * 397) ^ QueryTimeoutMs.GetHashCode(); hashCode = (hashCode * 397) ^ PollIntervalSeconds; hashCode = (hashCode * 397) ^ (ConnectionString != null ? ConnectionString.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = (Url != null ? Url.GetHashCode() : 0); hashCode = (hashCode * 397) ^ QueryTimeoutMs.GetHashCode(); hashCode = (hashCode * 397) ^ (User != null ? User.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Password != null ? Password.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AdminUser != null ? AdminUser.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AdminPassword != null ? AdminPassword.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = Url?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ QueryTimeoutMs.GetHashCode(); hashCode = (hashCode * 397) ^ (User?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Password?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (AdminUser?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (AdminPassword?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = 0; foreach (var i in Instances) { hashCode = (hashCode * 397) ^ i.GetHashCode(); } hashCode = (hashCode * 397) ^ QueryTimeoutMs.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); return(hashCode); } }