Пример #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)
 {
 }