public MinionEventHandlerFLow(IStateAccessor stateAccessor,
                               IStateHolder stateHolder,
                               IEventHandlerFactory eventHandlerFactory,
                               IStateRestorer stateRestorer,
                               IStateSavingFlow stateSavingFlow,
                               StateRecoveryOptions stateRecoveryOptions,
                               EventLoadingOptions eventLoadingOptions,
                               IEventLoader eventLoader,
                               ILogger <MinionEventHandlerFLow> logger) : base(stateAccessor,
                                                                               stateHolder,
                                                                               eventHandlerFactory,
                                                                               stateRestorer,
                                                                               stateSavingFlow,
                                                                               stateRecoveryOptions,
                                                                               logger)
 {
     _eventLoadingOptions = eventLoadingOptions;
     _eventLoader         = eventLoader;
 }
Exemplo n.º 2
0
 public MasterEventHandlerFLow(IStateAccessor stateAccessor,
                               IStateHolder stateHolder,
                               IEventHandlerFactory eventHandlerFactory,
                               IStateRestorer stateRestorer,
                               IStateSavingFlow stateSavingFlow,
                               StateRecoveryOptions stateRecoveryOptions,
                               IEventSaver eventSaver,
                               IEventHandledNotificationFlow eventHandledNotificationFlow,
                               ILogger <MasterEventHandlerFLow> logger) : base(stateAccessor,
                                                                               stateHolder,
                                                                               eventHandlerFactory,
                                                                               stateRestorer,
                                                                               stateSavingFlow,
                                                                               stateRecoveryOptions,
                                                                               logger)
 {
     _eventSaver = eventSaver;
     _eventHandledNotificationFlow = eventHandledNotificationFlow;
     _logger = logger;
 }
Exemplo n.º 3
0
 public ClaptrapActor(
     IClaptrapIdentity claptrapIdentity,
     ILogger <ClaptrapActor> logger,
     StateSavingOptions stateSavingOptions,
     IStateAccessor stateAccessor,
     IStateRestorer stateRestorer,
     IEventHandlerFLow eventHandlerFLow,
     IStateSavingFlow stateSavingFlow,
     IEventHandledNotificationFlow eventHandledNotificationFlow,
     IL l)
 {
     _claptrapIdentity             = claptrapIdentity;
     _logger                       = logger;
     _stateSavingOptions           = stateSavingOptions;
     _stateAccessor                = stateAccessor;
     _stateRestorer                = stateRestorer;
     _eventHandlerFLow             = eventHandlerFLow;
     _stateSavingFlow              = stateSavingFlow;
     _eventHandledNotificationFlow = eventHandledNotificationFlow;
     _l = l;
 }