Esempio n. 1
0
        public void RunCommand(string commandOverride = "")
        {
            string cmd = (string.IsNullOrWhiteSpace(commandOverride))? _currentCommand : commandOverride;

            if (!(cmd == commandOverride))
            {
                Log("> " + cmd);
            }

            //Delete me later
            if (_currentCommand == "xx")
            {
                SaveExemplar();
            }
            if (_currentCommand == "yy")
            {
                SetDataAsExemplar();
            }


            Log(_ANN.ParseCommand(cmd));
            _currentCommand = "";


            OnPropertyChanged("CurrentCommand");
        }
Esempio n. 2
0
 static void ParseCommand(string command)
 {
     System.Console.WriteLine(_ANN.ParseCommand(command));
 }