Exemplo n.º 1
0
        public CommandHandlerBase(CommandHandlerOptions options)
        {
            Options  = options;
            Commands = new CommandsList();

            RegisterTypeParsers();
        }
Exemplo n.º 2
0
 public DefaultCommandHandler(CommandHandlerOptions options, Stream outputStream, Encoding encoding = null, int bufferSize = 512) : base(options)
 {
     OutputStream = outputStream;
     _encoding    = encoding ?? Encoding.UTF8;
     _bufferSize  = bufferSize;
 }