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