Exemplo n.º 1
0
 private TpsParser()
 {
     DeserializerContext = new DeserializerContext();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Instantiates a new row.
 /// </summary>
 /// <param name="deserializerContext">The deserializer context.</param>
 /// <param name="recordNumber">The record number of the row.</param>
 /// <param name="values">The values in the row, keyed by their column names.</param>
 internal Row(DeserializerContext deserializerContext, int recordNumber, IReadOnlyDictionary <string, TpsObject> values)
 {
     DeserializerContext = deserializerContext ?? throw new ArgumentNullException(nameof(deserializerContext));
     Id     = recordNumber;
     Values = values ?? throw new ArgumentNullException(nameof(values));
 }