C# Class Microsoft.Silverlight.Testing.WorkItem

A test work item is a task that is invoked until it is complete. It maintains its own state to be able to notify the caller when it is finally complete, with no further work to be run. It is possible that some implementations of a TestWorkItem may actually contain a set of sub-tasks by implementing a composite pattern.
Afficher le fichier Open project: garyjohnson/wpnest Class Usage Examples

Méthodes publiques

Méthode Description
Invoke ( ) : bool

Invoke the task. Return false only when the task is complete.

Méthodes protégées

Méthode Description
WorkItemComplete ( ) : void

Called by the task after the work is complete.

Method Details

Invoke() public méthode

Invoke the task. Return false only when the task is complete.
public Invoke ( ) : bool
Résultat bool

WorkItemComplete() protected méthode

Called by the task after the work is complete.
protected WorkItemComplete ( ) : void
Résultat void