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

A simple work item that invokes a method through the reflection MethodInfo instance.
Inheritance: WorkItem
Mostra file Open project: garyjohnson/wpnest Class Usage Examples

Public Methods

Method Description
Invoke ( ) : bool

Invokes the underlying method on the instance and marks the test work item as complete.

MethodInvokeWorkItem ( object instance, MethodInfo method, ITestMethod testMethod ) : System.Reflection

Creates a new method invoke work item for a MethodInfo instance.

Method Details

Invoke() public method

Invokes the underlying method on the instance and marks the test work item as complete.
public Invoke ( ) : bool
return bool

MethodInvokeWorkItem() public method

Creates a new method invoke work item for a MethodInfo instance.
public MethodInvokeWorkItem ( object instance, MethodInfo method, ITestMethod testMethod ) : System.Reflection
instance object The type instance.
method System.Reflection.MethodInfo The method on the type to invoke when the /// work item is executed.
testMethod ITestMethod The test method metadata.
return System.Reflection