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

A work item for tests to use which will call the delegate when the work item is executed.
Inheritance: Microsoft.Silverlight.Testing.WorkItem
Show file Open project: garyjohnson/wpnest

Public Methods

Method Description
CallbackWorkItem ( System.Action callback ) : System

Create a new Callback work item.

Invoke ( ) : bool

Execute the callback.

Method Details

CallbackWorkItem() public method

Create a new Callback work item.
public CallbackWorkItem ( System.Action callback ) : System
callback System.Action Action to execute on Invoke.
return System

Invoke() public method

Execute the callback.
public Invoke ( ) : bool
return bool