Skip to content

Commit

Permalink
Updated doc example.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshClose committed Feb 15, 2021
1 parent 75b20ef commit 3d8ccb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-src/docs/src/content/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ just change how our properties match against the header names.
```cs
var config = new CsvConfiguration(CultureInfo.InvariantCulture)
{
PrepareHeaderForMatch = (string header, int index) => header.ToLower(),
PrepareHeaderForMatch = args => args.Header.ToLower(),
};
using (var reader = new StreamReader("path\\to\\file.csv"))
using (var csv = new CsvReader(reader, config))
Expand Down

0 comments on commit 3d8ccb8

Please sign in to comment.