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

A type which handles preparing the underlying dispatcher or timer from which the test work items execute.
Inheritance: RunDispatcher
Exibir arquivo Open project: garyjohnson/wpnest Class Usage Examples

Public Methods

Method Description
Run ( ) : void

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

WebBrowserTick ( Func runNextStep ) : System

Creates a new run method manager using the default value for the timer's millisecond interval.

WebBrowserTick ( Func runNextStep, int millisecondInterval ) : System

Sets up a new run method manager.

Private Methods

Method Description
Timer_Tick ( object sender, EventArgs e ) : void

Call into the underlying work item queue, if the method manager is still set to run.

Method Details

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

WebBrowserTick() public method

Creates a new run method manager using the default value for the timer's millisecond interval.
public WebBrowserTick ( Func runNextStep ) : System
runNextStep Func /// Conditional delegate which returns true as long as there is /// additional work. ///
return System

WebBrowserTick() public method

Sets up a new run method manager.
public WebBrowserTick ( Func runNextStep, int millisecondInterval ) : System
runNextStep Func /// Conditional delegate which returns true as long as there is /// additional work. ///
millisecondInterval int Milliseconds between ticks, at a /// minimum.
return System