Ejemplo n.º 1
0
        public BatchCommander(Regulus.Utility.Command command, Regulus.Utility.ConsoleViewer viewer)
        {
            _Timer = new Regulus.Utility.TimeCounter();

            this._Command = command;

            _Command.Register("1" , _1);
            _Command.Register("2", _2);
            _Command.Register("3", _3);

            _CommandStrings = new Queue<CommandString>();
        }
Ejemplo n.º 2
0
        public BatchCommander(Regulus.Utility.Command command)
        {
            _Timer = new Regulus.Utility.TimeCounter();

            this._Command = command;

            _Command.Register("1" , _1);
            _CommandStrings = new Queue<CommandString>();
        }
Ejemplo n.º 3
0
        public BatchCommander(Regulus.Utility.Command command)
        {
            _Timer = new Regulus.Utility.TimeCounter();

            this._Command = command;


            _Command.Register("1", _1);
            _CommandStrings = new Queue <CommandString>();
        }
Ejemplo n.º 4
0
 public static void Register <TR>(this Regulus.Utility.Command instance, string command, System.Func <TR> executer)
 {
     instance.Register(command, executer, _Empty);
 }