This project is available as the Validation NuGet package. Check out our full documentation. Basic input validation via the Requires class throws an ArgumentException.