C# Class Testeroids.TaskExtensions

ファイルを表示 Open project: Testeroids/Testeroids

Public Methods

Method Description
Wait ( this result, IContextSpecification contextSpecification ) : void

Helper method waits on tasks and tries to replicate the handling of exceptions that is achieved with the "await" keyword (not wrapping it in an AggregateException).

Method Details

Wait() public static method

Helper method waits on tasks and tries to replicate the handling of exceptions that is achieved with the "await" keyword (not wrapping it in an AggregateException).
public static Wait ( this result, IContextSpecification contextSpecification ) : void
result this The task to wait on.
contextSpecification IContextSpecification The current test fixture.
return void