/// <inheritdoc /> public override int GetHashCode() { unchecked { var hashCode = Brokers?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (ControllerId?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (ClusterId?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Topics?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { unchecked { return(((Id != null ? Id.GetHashCode() : 0) * 397) ^ (int)ControllerType); } }