SimpleWorkItemDispatcher
SimpleWorkItemDispatcher handles execution of WorkItems by
directly executing them. It is provided so that a dispatcher
is always available in the context, thereby simplifying the
code needed to run child tests.
The level of parallelism supported
public SimpleWorkItemDispatcher()
Cancel (abort or stop) the ongoing run.
If no run is in process, the call has no effect.
Dispatch a single work item for execution by
executing it directly.
Start execution, creating the execution thread,
setting the top level work and dispatching it.