Exemple #1
0
 public UnboundedPriorityMessageQueue(Func <object, int> priorityGenerator)
 {
     _prioQueue.SetPriorityCalculator(priorityGenerator);
 }
Exemple #2
0
 public UnboundedPriorityMessageQueue(Func <object, int> priorityGenerator, int initialCapacity) : this(initialCapacity)
 {
     _prioQueue.SetPriorityCalculator(priorityGenerator);
 }