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

Test work item type that does not complete until the sleep time has elapsed. This is NOT a blocking Sleep.
Inheritance: WorkItem
Afficher le fichier Open project: garyjohnson/wpnest

Méthodes publiques

Méthode Description
Invoke ( ) : bool

On the first time, will calculate the final DateTime. Otherwise, null operation (returns) until that time.

SleepWorkItem ( System.TimeSpan delay ) : System

Create a new Sleep work item, including the number of milliseconds to wait until continuing.

Method Details

Invoke() public méthode

On the first time, will calculate the final DateTime. Otherwise, null operation (returns) until that time.
public Invoke ( ) : bool
Résultat bool

SleepWorkItem() public méthode

Create a new Sleep work item, including the number of milliseconds to wait until continuing.
public SleepWorkItem ( System.TimeSpan delay ) : System
delay System.TimeSpan Amount of time to wait/delay.
Résultat System