Ejemplo n.º 1
0
 private void Execute()
 {
     if (SelectedCommand != null)
     {
         _commandsManager.ExecuteCommand(SelectedCommand);
     }
     CommandsChain.Clear();
     Input = String.Empty;
 }
Ejemplo n.º 2
0
 private void Unchain()
 {
     if (CommandsChain.Count == 0)
     {
         return;
     }
     CommandsChain.RemoveAt(CommandsChain.Count - 1);
     Input = String.Empty;
 }
Ejemplo n.º 3
0
 private void FindSubCommands()
 {
     if (SelectedCommand == null)
     {
         return;
     }
     CommandsChain.Add(SelectedCommand);
     Input   = String.Empty;
     Results = _commandsManager.FindSubCommands(CommandsChain[CommandsChain.Count - 1], Input);
 }