GuardClauses
GuardClauses copied to clipboard
FluentValidation
trafficstars
Add a Guard.Against.Invalid() that takes in a fluent validator type and performs something like:
validator!.ValidateAndThrow(input);
This would need to go into a new package, Ardalis.GuardClauses.FluentValidation