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