예제 #1
0
 internal FtpReply(FtpResponseType ftpResponseType,
                   int responseCode,
                   string responseMessage,
                   IEnumerable <string> messages)
 {
     this._ftpResponseType = ftpResponseType;
     this._responseCode    = responseCode;
     this._responseMessage = responseMessage;
     this._messages.AddRange(messages);
 }
예제 #2
0
 internal FtpReply(FtpResponseType ftpResponseType,
                   int responseCode,
                   string responseMessage,
                   IEnumerable<string> messages,
                   string data)
 {
     this._ftpResponseType = ftpResponseType;
     this._responseCode = responseCode;
     this._responseMessage = responseMessage;
     this._data = data;
     this._messages.AddRange(messages);
 }