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

A container which is able to attach to the underlying test dispatcher stack to enable advanced asynchronous functionality, when supported.
Inheritance: MethodContainer
Mostra file Open project: garyjohnson/wpnest Class Usage Examples

Public Methods

Method Description
UnitTestMethodContainer ( UnitTestHarness testHarness, object instance, MethodInfo method, ITestMethod testMethod, TestGranularity granularity ) : System

Initializes dispatcher-stack attaching method container work item.

Protected Methods

Method Description
FirstInvoke ( ) : void

Connect to dispatcher stack for advanced functions, if supported.

Private Methods

Method Description
SupportsWorkItemQueue ( ) : bool

Check a MethodInfo for the advanced async attribute.

Method Details

FirstInvoke() protected method

Connect to dispatcher stack for advanced functions, if supported.
protected FirstInvoke ( ) : void
return void

UnitTestMethodContainer() public method

Initializes dispatcher-stack attaching method container work item.
public UnitTestMethodContainer ( UnitTestHarness testHarness, object instance, MethodInfo method, ITestMethod testMethod, TestGranularity granularity ) : System
testHarness UnitTestHarness Test harness.
instance object Test instance.
method System.Reflection.MethodInfo Method reflection object.
testMethod ITestMethod Test method metadata.
granularity TestGranularity Granularity of test.
return System