示例#1
0
 public ClientHost(IOptionParser optionParser, IRestClientProtocol clientProtocol, IRestDataTransferProtocol dataTransferProtocol, ICommandDispatcher commandDispatcher, ICommandFactory commandFactory)
 {
     _optionParser         = optionParser;
     _clientProtocol       = clientProtocol;
     _dataTransferProtocol = dataTransferProtocol;
     _commandDispatcher    = commandDispatcher;
     _commandFactory       = commandFactory;
 }
示例#2
0
 public DeleteCommandHandler(IRestClientProtocol clientProtocol)
 {
     _clientProtocol = clientProtocol;
 }
示例#3
0
 public MkdirCommandHandler(IRestClientProtocol clientProtocol)
 {
     _clientProtocol = clientProtocol;
 }
示例#4
0
 public ListingCommandHandler(IRestClientProtocol clientProtocol, IConsole console)
 {
     _clientProtocol = clientProtocol;
     _console        = console;
 }
示例#5
0
 public PutCommandHandler(IRestClientProtocol clientProtocol, IRestDataTransferProtocol dataTransferProtocol)
 {
     _clientProtocol       = clientProtocol;
     _dataTransferProtocol = dataTransferProtocol;
 }