public ConcurrentQueue(IDispatcher dispatcher) { mDispatcher = dispatcher ?? throw new ArgumentNullException("dispatcher"); mTimerQueue = new TimerQueue(this, dispatcher); }
public SerialQueue(IDispatcher dispatcher) { mDispatcher = dispatcher ?? throw new ArgumentNullException("dispatcher"); mTimerQueue = new TimerQueue(this, dispatcher); mOnExecuteWorkItemFunction = OnExecuteWorkItem; }