public override int GetHashCode() { int hash = 1; hash ^= ServerServiceName.GetHashCode(); hash ^= ClientServiceName.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 1; if (ServerServiceName.Length != 0) { hash ^= ServerServiceName.GetHashCode(); } if (ClientServiceName.Length != 0) { hash ^= ClientServiceName.GetHashCode(); } return(hash); }