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