/// <summary> /// Initializes a new instance of the <see cref="AsyncContextTaskScheduler"/> class. /// </summary> /// <param name="context">The async context for this task scheduler. May not be <c>null</c>.</param> public AsyncContextTaskScheduler(AsyncContext context) { _context = context; }
/// <summary> /// Initializes a new instance of the <see cref="AsyncContextSynchronizationContext"/> class. /// </summary> /// <param name="context">The async context.</param> public AsyncContextSynchronizationContext(AsyncContext context) { _context = context; }
public DebugView(AsyncContext context) { _context = context; }