示例#1
0
 public MvcAsyncHandler(RequestContext requestContext, SynchronizationContext syncContext)
     : base(requestContext)
 {
     SynchronizationContext = syncContext ?? SynchronizationContextHelper.GetSynchronizationContext();
 }
示例#2
0
 public AsyncControllerActionInvoker(SynchronizationContext syncContext)
 {
     SynchronizationContext = syncContext ?? SynchronizationContextHelper.GetSynchronizationContext();
 }
示例#3
0
 public AsyncManager(SynchronizationContext syncContext)
 {
     SynchronizationContext = syncContext ?? SynchronizationContextHelper.GetSynchronizationContext();
     OutstandingOperations  = new OutstandingAsyncOperations();
     Parameters             = new Dictionary <string, object>(StringComparer.OrdinalIgnoreCase);
 }
示例#4
0
 public MvcHttpAsyncHandler(SynchronizationContext syncContext)
 {
     SynchronizationContext = syncContext ?? SynchronizationContextHelper.GetSynchronizationContext();
 }