示例#1
0
 public NavigationService(Execute_Command executeCommand, ListCommands listCommands, ListCommands listContents, ListCommands listAllContent, ListCommands getAllSubitems)
 {
     this.executeCommand = executeCommand;
     this.listCommands   = listCommands;
     this.listContents   = listContents;
     this.listAllContent = listAllContent;
     this.getAllSubItems = getAllSubitems;
     root          = new Folder(null, "root", "root");
     currentFolder = root;
 }
 public Execute_Command(ListCommands listCommands)
 {
     this.listCommands = listCommands;
     root          = new Folder(null, "root", "root");
     currentFolder = root;
 }