Example #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;
        }
Example #2
0
 public AliasedCommand(CommandAliases command, string name)
 {
     parent    = command;
     this.name = name;
 }