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;
 }
示例#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;
 }