2 ms·
I know this may not be particularly interesting for non-C# developers but I wrote this blog post and maybe some people here will like it.
by langosvoid 5y ago
I know this may not be particularly interesting for non-C# developers but I wrote this blog post and maybe some people here will like it.
- sbelskie 5y agoI invariably end up using Func<TModel, TModel> instead of Action<TModel> for stuff like this to support immutable objects/properties. Increasingly common with records now, but not really needed if everything is always mutable on the objects you are validating.