Beispiel #1
0
        protected override IEnumerable <Task> GetScheduledTasks()
        {
#if PFX_LEGACY_3_5
            yield return(null);
#else
            return(FilterTasksFromWorkItems(ThreadPool.GetQueuedWorkItems()));
#endif
        }
Beispiel #2
0
 protected override IEnumerable <Task> GetScheduledTasks()
 {
     return(FilterTasksFromWorkItems(ThreadPool.GetQueuedWorkItems()));
 }