Пример #1
0
 public static void SynchronousExecutionWillNotCauseAProblemInSta()
 {
     TestHarness.TestAsyncBehaviour(DemonstrateSynchronousExecutionWithAwaitHalfwayThrough);
 }
 public static void DemonstrateDeadlock()
 {
     TestHarness.TestAsyncBehaviour(DelayAsync);
 }
 public static void DemonstrateNoDeadlock()
 {
     TestHarness.TestAsyncBehaviour(DelayWithConfigureAwait);
 }
 public static void DemonstrateNoDeadlock()
 {
     TestHarness.TestAsyncBehaviour(DelayContinuation);
 }