Replies: 1 comment 3 replies
-
All of the delegates changes to an args variable with properties on them. You weren't able to tell what the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I am trying to validate DateTime format using the Validate function but documentation doesn't cover DateTime.ParseExact() method.
I get an error that says cannot convert 'CsvHelper.ValidateArgs' to 'System.ReadOnlySpan'
public class foo { public DateTime? date { get; set; } }
Map(m => m.date).Index(0).Validate(args => DateTime.ParseExact(args, "MM/dd/yyyy", CultureInfo.InvariantCulture));
Beta Was this translation helpful? Give feedback.
All reactions