コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
ファイル: AsyncContext.cs プロジェクト: SunriseChen/MQTTnet
 public DebugView(AsyncContext context)
 {
     _context = context;
 }