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

            RegisterTypeParsers();
        }
Esempio 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;
 }