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

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

            AddCommand(cmd);
        }