Ejemplo n.º 1
0
 public PassCommand(IExecutorState executorState, IFtpMessage ftpMessage, IUserChecker userChecker, ICommandArgsResolver commandArgsResolver, IServerConnectionBuilder serverConnectionBuilder, ICommandFactory remoteCommandFactory) : base(executorState, ftpMessage)
 {
     _userChecker             = userChecker;
     _commandArgsResolver     = commandArgsResolver;
     _serverConnectionBuilder = serverConnectionBuilder;
     _remoteCommandFactory    = remoteCommandFactory;
 }
Ejemplo n.º 2
0
 public LocalCommandFactory(ICommandArgsResolver commandArgsResolver,
                            IUserChecker userChecker,
                            IServerConnectionBuilder serverConnectionBuilder,
                            IRemoteCommandFactory remoteCommandFactory)
 {
     _commandArgsResolver     = commandArgsResolver;
     _userChecker             = userChecker;
     _serverConnectionBuilder = serverConnectionBuilder;
     _remoteCommandFactory    = remoteCommandFactory;
 }