Example #1
0
 public TaskCompletionSourceRegistry(
     INumericIdGenerator numericIdGenerator,
     ITransitionScope transitionScope)
 {
     _numericIdGenerator = numericIdGenerator;
     _transitionScope    = transitionScope;
 }
Example #2
0
 public SingleEventPublisher(
     ITransitionScope transitionScope,
     IEventPublisherProvider eventPublisherProvider)
 {
     _transitionScope        = transitionScope;
     _eventPublisherProvider = eventPublisherProvider;
 }
Example #3
0
 public ProxyMethodExecutor(
     ITransitionScope transitionScope,
     IRoutineMethodIdProvider routineMethodIdProvider,
     INumericIdGenerator numericIdGenerator,
     IRoutineImmediateExecutor routineImmediateExecutor)
 {
     _transitionScope          = transitionScope;
     _routineMethodIdProvider  = routineMethodIdProvider;
     _numericIdGenerator       = numericIdGenerator;
     _routineImmediateExecutor = routineImmediateExecutor;
 }
Example #4
0
 public SingleMethodInvoker(
     ITransitionScope transitionScope,
     IServiceResolver serviceResolver,
     IMethodResolver methodResolver,
     ICommunicationSettingsProvider communicationSettingsProvider,
     ICommunicatorProvider communicatorProvider,
     ILocalMethodRunner localMethodRunner)
 {
     _transitionScope = transitionScope;
     _serviceResolver = serviceResolver;
     _methodResolver  = methodResolver;
     _communicationSettingsProvider = communicationSettingsProvider;
     _communicatorProvider          = communicatorProvider;
     _localMethodRunner             = localMethodRunner;
 }
Example #5
0
 public ProxyMethodExecutor(
     ITransitionScope transitionScope,
     IRoutineMethodIdProvider routineMethodIdProvider,
     IEventIdProvider eventIdProvider,
     INumericIdGenerator numericIdGenerator,
     ITransitionCommitter transitionCommitter,
     IRoutineCompletionNotifier routineCompletionNotifier,
     IEventSubscriber eventSubscriber)
 {
     _transitionScope           = transitionScope;
     _routineMethodIdProvider   = routineMethodIdProvider;
     _eventIdProvider           = eventIdProvider;
     _numericIdGenerator        = numericIdGenerator;
     _transitionCommitter       = transitionCommitter;
     _routineCompletionNotifier = routineCompletionNotifier;
     _eventSubscriber           = eventSubscriber;
 }
Example #6
0
 public TransitionRunner(
     ITransitionScope transitionScope,
     ITransitionCommitter transitionCommitter,
     IServiceProxyBuilder serviceProxyBuilder,
     IRoutineMethodResolver routineMethodResolver,
     IAsyncStateMachineMetadataProvider asyncStateMachineMetadataProvider,
     IMethodInvokerFactory methodInvokerFactory,
     IServiceStateValueContainerProvider serviceStateValueContainerProvider,
     IntrinsicRoutines intrinsicRoutines,
     INumericIdGenerator idGenerator)
 {
     _transitionScope                    = transitionScope;
     _transitionCommitter                = transitionCommitter;
     _serviceProxyBuilder                = serviceProxyBuilder;
     _routineMethodResolver              = routineMethodResolver;
     _asyncStateMachineMetadataProvider  = asyncStateMachineMetadataProvider;
     _methodInvokerFactory               = methodInvokerFactory;
     _serviceStateValueContainerProvider = serviceStateValueContainerProvider;
     _intrinsicRoutines                  = intrinsicRoutines;
     _idGenerator = idGenerator;
 }
Example #7
0
 public TransitionRunner(
     ITransitionScope transitionScope,
     IAsyncStateMachineMetadataProvider asyncStateMachineMetadataProvider,
     //IServiceStateValueContainerProvider serviceStateValueContainerProvider,
     IUniqueIdGenerator idGenerator,
     ITaskCompletionSourceRegistry taskCompletionSourceRegistry,
     IServiceResolver serviceResolver,
     IMethodResolver methodResolver,
     IEventResolver eventResolver,
     ICommunicatorProvider communicatorProvider,
     IEventPublisherProvider eventPublisherProvider,
     IRoutineCompletionSink routineCompletionSink,
     ICommunicationSettingsProvider communicationSettingsProvider,
     IDefaultSerializerProvider defaultSerializerProvider,
     ISerializerProvider serializeProvder,
     IMethodStateStorageProvider methodStateStorageProvider,
     IValueContainerCopier valueContainerCopier,
     IEventSubscriber eventSubscriber,
     ITaskContinuationClassifier taskContinuationClassifier)
 {
     _transitionScope = transitionScope;
     _asyncStateMachineMetadataProvider = asyncStateMachineMetadataProvider;
     //_serviceStateValueContainerProvider = serviceStateValueContainerProvider;
     _idGenerator = idGenerator;
     _taskCompletionSourceRegistry = taskCompletionSourceRegistry;
     _serviceResolver               = serviceResolver;
     _methodResolver                = methodResolver;
     _eventResolver                 = eventResolver;
     _communicatorProvider          = communicatorProvider;
     _eventPublisherProvider        = eventPublisherProvider;
     _routineCompletionSink         = routineCompletionSink;
     _communicationSettingsProvider = communicationSettingsProvider;
     _defaultSerializer             = defaultSerializerProvider.DefaultSerializer;
     _serializeProvder              = serializeProvder;
     _methodStateStorageProvider    = methodStateStorageProvider;
     _valueContainerCopier          = valueContainerCopier;
     _eventSubscriber               = eventSubscriber;
     _taskContinuationClassifier    = taskContinuationClassifier;
 }
 public TransitionRunner(
     ITransitionScope transitionScope,
     ITransitionCommitter transitionCommitter,
     IServiceProxyBuilder serviceProxyBuilder,
     IRoutineMethodResolver routineMethodResolver,
     IAsyncStateMachineMetadataProvider asyncStateMachineMetadataProvider,
     IMethodInvokerFactory methodInvokerFactory,
     //IServiceStateValueContainerProvider serviceStateValueContainerProvider,
     IntrinsicRoutines intrinsicRoutines,
     IUniqueIdGenerator idGenerator,
     ITaskCompletionSourceRegistry taskCompletionSourceRegistry)
 {
     _transitionScope                   = transitionScope;
     _transitionCommitter               = transitionCommitter;
     _serviceProxyBuilder               = serviceProxyBuilder;
     _routineMethodResolver             = routineMethodResolver;
     _asyncStateMachineMetadataProvider = asyncStateMachineMetadataProvider;
     _methodInvokerFactory              = methodInvokerFactory;
     //_serviceStateValueContainerProvider = serviceStateValueContainerProvider;
     _intrinsicRoutines            = intrinsicRoutines;
     _idGenerator                  = idGenerator;
     _taskCompletionSourceRegistry = taskCompletionSourceRegistry;
 }
Example #9
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;
 }
Example #10
0
 public IntrinsicRoutines(ITransitionScope transitionScope)
 {
     _transitionScope = transitionScope;
 }