C# Class Microsoft.Silverlight.Testing.Harness.FastRunDispatcher

A type which handles preparing the underlying dispatcher or timer from which the test work items execute.
Inheritance: RunDispatcher
Show file Open project: garyjohnson/wpnest

Public Methods

Method Description
FastRunDispatcher ( Func runNextStep, Dispatcher dispatcher ) : System

Sets up a new run method manager.

Run ( ) : void

Begin the execution process by hooking up the underlying DispatcherTimer to call into the test framework regularly and perform test work items.

Method Details

FastRunDispatcher() public method

Sets up a new run method manager.
public FastRunDispatcher ( Func runNextStep, Dispatcher dispatcher ) : System
runNextStep Func /// Conditional delegate which returns true as long as there is /// additional work. ///
dispatcher System.Windows.Threading.Dispatcher An instance of the dispatcher to use.
return System

Run() public method

Begin the execution process by hooking up the underlying DispatcherTimer to call into the test framework regularly and perform test work items.
public Run ( ) : void
return void