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

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

            AddCommand(cmd);
        }
Exemple #3
0
 protected void AddCommand(ScriptCommandInfo command)
 {
     _Commands.Add(command);
 }