public WpfSchedulers(DispatcherScheduler dispatcher, IPriorityScheduler priorityDispatcher, IPriorityScheduler threadPool) { if (dispatcher == null) throw new ArgumentNullException("dispatcher"); if (priorityDispatcher == null) throw new ArgumentNullException("priorityDispatcher"); if (threadPool == null) throw new ArgumentNullException("threadPool"); _dispatcher = dispatcher; _threadPool = threadPool; _priorityDispatcher = priorityDispatcher; }
public WinRtSchedulers(CoreDispatcherScheduler coreDispatcher, IPriorityScheduler dispatcher, IPriorityScheduler threadPool) { if (coreDispatcher == null) throw new ArgumentNullException("coreDispatcher"); if (dispatcher == null) throw new ArgumentNullException("dispatcher"); if (threadPool == null) throw new ArgumentNullException("threadPool"); _coreDispatcher = coreDispatcher; _dispatcher = dispatcher; _threadPool = threadPool; }
public WpfSchedulers(DispatcherScheduler dispatcher, IPriorityScheduler priorityDispatcher, IPriorityScheduler threadPool) { if (dispatcher == null) { throw new ArgumentNullException("dispatcher"); } if (priorityDispatcher == null) { throw new ArgumentNullException("priorityDispatcher"); } if (threadPool == null) { throw new ArgumentNullException("threadPool"); } _dispatcher = dispatcher; _threadPool = threadPool; _priorityDispatcher = priorityDispatcher; }
public WinRtSchedulers(CoreDispatcherScheduler coreDispatcher, IPriorityScheduler dispatcher, IPriorityScheduler threadPool) { if (coreDispatcher == null) { throw new ArgumentNullException("coreDispatcher"); } if (dispatcher == null) { throw new ArgumentNullException("dispatcher"); } if (threadPool == null) { throw new ArgumentNullException("threadPool"); } _coreDispatcher = coreDispatcher; _dispatcher = dispatcher; _threadPool = threadPool; }
public SingleSchedulers(IPriorityScheduler scheduler) { _scheduler = scheduler; }