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