Jellyfish.Commands.BulkheadTaskScheduler.GetScheduledTasks C# (CSharp) Method

GetScheduledTasks() protected method

Gets the tasks scheduled to this scheduler.
This does not include the tasks on sub-schedulers. Those will be retrieved by the debugger separately.
protected GetScheduledTasks ( ) : IEnumerable
return IEnumerable
        protected override IEnumerable<Task> GetScheduledTasks()
        {
            // Get all of the tasks, filtering out nulls, which are just placeholders 
            // for tasks in other sub-schedulers 
            return _blockingTaskQueue.Where(t => t != null).ToList();
        }