public UndoManager() { infos = new List<UndoInfo>(); curIndex = -1; curModel = null; stateProvider = null; IsEnabled = true; transactions = new List<UndoTransaction>(); }
public UndoManager() { infos = new List <UndoInfo>(); curIndex = -1; curModel = null; stateProvider = null; IsEnabled = true; transactions = new List <UndoTransaction>(); }
public void Init(EDOModel edoModel, IStatefullVM stateProvider) { this.curModel = edoModel; this.stateProvider = stateProvider; curIndex = -1; IsEnabled = true; infos.Clear(); transactions.Clear(); Memorize(); }