We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4bb46f4 + 6c723a3 commit deb5ccfCopy full SHA for deb5ccf
docs/examples/configuration/class-maps/mapping-by-name/index.html
@@ -412,10 +412,13 @@ <h6 id="data">Data</h6>
412
<h6 id="example">Example</h6>
413
<pre><code class="language-cs">void Main()
414
{
415
+ using CsvHelper;
416
+ using CsvHelper.Configuration;
417
+
418
using (var reader = new StreamReader("path\\to\\file.csv"))
419
using (var csv = new CsvReader(reader, CultureInfo.InvariantCulture))
420
- csv.Context.RegisterClassMap<FooMap>();
421
+ csv.Configuration.RegisterClassMap<FooMap>();
422
var records = csv.GetRecords<Foo>();
423
}
424
0 commit comments