Esempio n. 1
0
 internal HistoryManager(TExecutionContext executionContext, IEventPublisher eventPublisher, IExceptionManager exceptionManager, IHistoryItemFactory historyItemFactory, IRollBackCommandFactory rollBackCommandFactory, IList <IHistoryItem> history)
 {
     _executionContext       = executionContext;
     _eventPublisher         = eventPublisher;
     _exceptionManager       = exceptionManager;
     _history                = history;
     _historyItemFactory     = historyItemFactory;
     _rollBackCommandFactory = rollBackCommandFactory;
     resetState();
 }
Esempio n. 2
0
 public HistoryManager(TExecutionContext executionContext, IEventPublisher eventPublisher, IExceptionManager exceptionManager, IHistoryItemFactory historyItemFactory, IRollBackCommandFactory rollBackCommandFactory)
     : this(executionContext, eventPublisher, exceptionManager, historyItemFactory, rollBackCommandFactory, new List <IHistoryItem>())
 {
 }