Exemplo n.º 1
0
 /// <summary>
 /// Construct an XmlCsvReader.
 /// </summary>
 /// <param name="input">The .csv input text reader</param>
 /// <param name="baseUri">The base URI of the .csv.</param>
 /// <param name="nametable">The nametable to use for atomizing element names</param>
 public XmlCsvReader(TextReader input, Uri baseUri, XmlNameTable nametable)
 {
     _baseUri = baseUri;
     _encoding = Encoding.UTF8;
     _csvReader = new CsvReader(input, 4096);
     _nt = nametable;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Construct an XmlCsvReader.
 /// </summary>
 /// <param name="input">The .csv input stream</param>
 /// <param name="baseUri">The base URI of the .csv.</param>
 /// <param name="nametable">The nametable to use for atomizing element names</param>
 public XmlCsvReader(Stream input, Encoding encoding, Uri baseUri, XmlNameTable nametable)
 {
     _baseUri = baseUri;
     _encoding = encoding;
     _csvReader = new CsvReader(input, encoding, 4096);
     _nt = nametable;
 }