예제 #1
0
 public PassiveDataConnectionFeature(
     IPasvListener listener,
     List <IFtpDataConnectionValidator> validators,
     FtpCommand?command,
     IFtpConnection ftpConnection,
     IPEndPoint localEndPoint,
     ILogger?logger)
 {
     _listener      = listener;
     _validators    = validators;
     _ftpConnection = ftpConnection;
     _logger        = logger;
     LocalEndPoint  = localEndPoint;
     Command        = command;
 }
 public PassiveDataConnectionFeature(
     [NotNull] IPasvListener listener,
     [NotNull][ItemNotNull] List <IFtpDataConnectionValidator> validators,
     [NotNull] FtpCommand command,
     [NotNull] IFtpConnection ftpConnection,
     [NotNull] IPEndPoint localEndPoint,
     [CanBeNull] ILogger logger)
 {
     _listener      = listener;
     _validators    = validators;
     _ftpConnection = ftpConnection;
     _logger        = logger;
     LocalEndPoint  = localEndPoint;
     Command        = command;
 }