Ejemplo n.º 1
0
 //get all lines of related file and process them as a single command-line fragment
 //other mode: process the file to deserialize a ?specified? class type
 //response file contains 1 argument per line (free of shell quote processing)
 private IEnumerable <string> GetArgsInResponse(string response_file)
 {
     using (var response = ResponseProvider.Open(response_file))
         foreach (string argument in response)
         {
             foreach (string inlinearg in GetIndividualArguments(argument))
             {
                 yield return(inlinearg);
             }
         }
 }