Example #1
0
 public StatedTestObjectStateEngine(
     IStatedTestObjectStartRunHandler statedTestObjectStartRunHandler,
     IStatedTestObjectFinalizeRunHandler statedTestObjectFinalizeRunHandler,
     IStatedTestObjectStartCleanupHandler statedTestObjectStartCleanupHandler,
     IStateEventBus <StateChangedEvent <StatedTestObject> > stateEventBus
     ) : base(stateEventBus)
 {
     StatedTestObjectStartRunHandler     = statedTestObjectStartRunHandler;
     StatedTestObjectFinalizeRunHandler  = statedTestObjectFinalizeRunHandler;
     StatedTestObjectStartCleanupHandler = statedTestObjectStartCleanupHandler;
 }
Example #2
0
 protected StateEngine(IStateEventBus <StateChangedEvent <TEntity> > stateEventBus)
 {
     _stateEventBus = stateEventBus;
 }