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