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.
namespace NUnit.Framework.Internal.Execution
{
public class SimpleWorkItemDispatcher : IWorkItemDispatcher
{
public void Dispatch(WorkItem work)
{
work?.Execute();
}
public void CancelRun(bool force)
{
}
}
}