예제 #1
0
        public CommandDispatcher(IApplicationContext application)
        {
            this.application = application;
            aliases          = new CommandAliases(this);
            commandMap       = new SortedDictionary <string, Command>();
            commands         = new List <CommandInfo>();
            batchCount       = 0;

            Readline.TabComplete += OnTabComplete;
        }
예제 #2
0
 public AliasedCommand(CommandAliases command, string name)
 {
     parent    = command;
     this.name = name;
 }