示例#1
0
 public IntrinsicFlowController(
     ITaskContinuationClassifier taskContinuationClassifier,
     IAsyncStateMachineMetadataProvider asyncStateMachineMetadataProvider,
     IUniqueIdGenerator numericIdGenerator,
     IMethodIdProvider routineMethodIdProvider)
 {
     _taskContinuationClassifier        = taskContinuationClassifier;
     _asyncStateMachineMetadataProvider = asyncStateMachineMetadataProvider;
     _numericIdGenerator      = numericIdGenerator;
     _routineMethodIdProvider = routineMethodIdProvider;
 }
示例#2
0
 public ProxyMethodExecutor(
     ITransitionScope transitionScope,
     IMethodIdProvider routineMethodIdProvider,
     IEventIdProvider eventIdProvider,
     IUniqueIdGenerator numericIdGenerator,
     IRoutineCompletionNotifier routineCompletionNotifier,
     IEventSubscriber eventSubscriber,
     ICommunicationSettingsProvider communicationSettingsProvider,
     IMethodInvokerFactory methodInvokerFactory,
     ISingleMethodInvoker singleMethodInvoker,
     ISingleEventPublisher singleEventPublisher)
 {
     _transitionScope               = transitionScope;
     _routineMethodIdProvider       = routineMethodIdProvider;
     _eventIdProvider               = eventIdProvider;
     _idGenerator                   = numericIdGenerator;
     _routineCompletionNotifier     = routineCompletionNotifier;
     _eventSubscriber               = eventSubscriber;
     _communicationSettingsProvider = communicationSettingsProvider;
     _methodInvokerFactory          = methodInvokerFactory;
     _singleMethodInvoker           = singleMethodInvoker;
     _singleEventPublisher          = singleEventPublisher;
 }