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.
Datei anzeigen Open project: garyjohnson/wpnest Class Usage Examples

Public Methods

Method Description
Invoke ( ) : bool

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

Protected Methods

Method Description
WorkItemComplete ( ) : void

Called by the task after the work is complete.

Method Details

Invoke() public method

Invoke the task. Return false only when the task is complete.
public Invoke ( ) : bool
return bool

WorkItemComplete() protected method

Called by the task after the work is complete.
protected WorkItemComplete ( ) : void
return void