public bool Equals(VBucketServerMapDto?other) { return((other != null && ServerList.AreEqual <string>(other.ServerList) && VBucketMap.AreEqual(other.VBucketMap)) && VBucketMapForward.AreEqual(other.VBucketMapForward)); }
public override int GetHashCode() { unchecked { var hash = 17; hash = hash * 23 + ServerList.GetCombinedHashcode(); hash = hash * 23 + VBucketMap.GetCombinedHashcode(); hash = hash * 23 + NumReplicas.GetHashCode(); hash = hash * 23 + HashAlgorithm.GetHashCode(); return(hash); } }