Ejemplo n.º 1
0
 public void AddCommand(Command NewCommand)
 {
     Commands.Add(NewCommand);
     Recog.LoadGrammar(new Grammar(new GrammarBuilder(new Choices(NewCommand.Commands.ToArray())) { Culture = System.Globalization.CultureInfo.CurrentCulture }) { Name = NewCommand.Name });
 }
Ejemplo n.º 2
0
 public void UnloadCommand(Command CommandToUnload)
 {
     Commands.Remove(CommandToUnload);
 }