Exemplo n.º 1
0
 /// <summary>
 /// Parses all the data with the types (defined by human) for the BoardGameGeek data
 /// </summary>
 /// <param name="data">A two-dimensional (jagged) array of strings, containing
 /// the names of columns (as the first element) and then DataLine content in all
 /// following.</param>
 /// <returns>A list of DataLines with matching keys and types.</returns>
 public static List <DataLine> ParseFixed(string[][] data)
 {
     Console.WriteLine("Parsing " + data.Length + " lines");
     return(data.Skip(1).Select(d => DataLine.ParseFixed(d, data[0])).ToList());
 }