Exemplo n.º 1
0
        protected void AddCommand(string title, string description, ScriptCommandInfo.RunCommandDelegate command)
        {
            ScriptCommandInfo cmd = new ScriptCommandInfo(title, description, command);

            AddCommand(cmd);
        }
Exemplo n.º 2
0
        protected void AddCommand(string title, ScriptCommandInfo.RunCommandDelegate command)
        {
            ScriptCommandInfo cmd = new ScriptCommandInfo(title, string.Empty, command);

            AddCommand(cmd);
        }
Exemplo n.º 3
0
 protected void AddCommand(ScriptCommandInfo command)
 {
     _Commands.Add(command);
 }