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(); }
public HistoryManager(TExecutionContext executionContext, IEventPublisher eventPublisher, IExceptionManager exceptionManager, IHistoryItemFactory historyItemFactory, IRollBackCommandFactory rollBackCommandFactory) : this(executionContext, eventPublisher, exceptionManager, historyItemFactory, rollBackCommandFactory, new List <IHistoryItem>()) { }