/// <inheritdoc /> public bool Equals(ConsumerMemberAssignment other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Version == other.Version && PartitionAssignments.HasEqualElementsInOrder(other.PartitionAssignments) && UserData.HasEqualElementsInOrder(other.UserData)); }
public override string ToString() => $"{{Length:{Bytes.Count},Assignments:[{PartitionAssignments.ToStrings()}]}}";
public override string ToString() => $"{{Version:{Version},Assignments:[{PartitionAssignments.ToStrings()}],UserData:{UserData.Count}}}";