コード例 #1
0
        protected void AddCommand(string title, ScriptCommandInfo.RunCommandDelegate command)
        {
            ScriptCommandInfo cmd = new ScriptCommandInfo(title, string.Empty, command);

            AddCommand(cmd);
        }
コード例 #2
0
        protected void AddCommand(string title, string description, ScriptCommandInfo.RunCommandDelegate command)
        {
            ScriptCommandInfo cmd = new ScriptCommandInfo(title, description, command);

            AddCommand(cmd);
        }