private PartitionProduction(int partition, int messageSetSize, MessageInSet[] messageInSets) { Partition = partition; MessageSetSize = messageSetSize; MessageSet = messageInSets; }
public PartitionProduction(int partition, MessageInSet[] messageInSets) : this(partition, messageInSets.Sum(x => x.DataLength), messageInSets) { }