StandardResponse IResponseProcessor.ProcessResponse(IEnumerable <string> responseLines, int exitCode, string splitRegEx = null) { IResponseProcessor standardResponse = new StandardResponse(); standardResponse.ProcessResponse(responseLines.Skip(3), exitCode); return((StandardResponse)standardResponse); }
StandardResponse IResponseProcessor.ProcessResponse(IEnumerable <string> responseLines, int exitCode, string splitRegEx) { IResponseProcessor response = new StandardResponse(); response.ProcessResponse(responseLines, exitCode); return((StandardResponse)response); }
StandardResponse IResponseProcessor.ProcessResponse(IEnumerable <string> responseLines, int exitCode, string splitRegEx = null) { IResponseProcessor response = new StandardResponse(); var entries = new List <string>(); entries = responseLines.Skip(3).Where(line => !string.IsNullOrWhiteSpace(line)).Select(line => line.Trim()).ToList(); var respObj = response.ProcessResponse(entries, exitCode); respObj.ResponseObject = entries; return(respObj); }