Ejemplo n.º 1
0
 public static void Parse(string str, SamplingNumber samplingNumber)
 {
     string[] tokens = GetFirstToken(str);
     samplingNumber.ResponseRate = tokens[0];
     string[] restTokens = EDOUtils.ParseCSV(tokens[1]);
     if (restTokens == null || restTokens.Length < 3)
     {
         return;
     }
     samplingNumber.SampleSize        = restTokens[0];
     samplingNumber.NumberOfResponses = restTokens[1];
     samplingNumber.Description       = restTokens[2];
 }