コード例 #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)
 {
 }