コード例 #1
0
ファイル: CommandDispatcher.cs プロジェクト: meikeric/dshell
        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;
 }