Example #1
0
 public CreateLeafViewModel(IWordLogicHandler wordLogicHandler, MainDashboardViewModel mainDashboard, string parentTreeName)
 {
     _wordLogicHandler = wordLogicHandler;
     _mainDashboard    = mainDashboard;
     ParentTreeName    = parentTreeName;
     CreateLeafCommand = new CreateLeafCommand(this);
 }
 public CreateTreeViewModel(IFolderLogicHandler folderLogicHandler, MainDashboardViewModel mainDashboard)
 {
     _folderLogicHandler = folderLogicHandler;
     _mainDashboard      = mainDashboard;
     CreateTreeCommand   = new CreateTreeCommand(this);
 }