22 packages tagged with “clauses”
A simple package by @ardalis and @nimblepros with guard clause helper methods. See docs for how to extend using your own extension methods defined in your project.
Fork of Ardalis.GuardClauses with .NET 9 support.
An extensible argument validation package by @JarrydVanHoy that I feel reads quite fluently.
A simple package with extension methods to forbid some value matches,logical values or ranges in .Net
A simple package containing generic guard clause extensions.
Argument validation clauses.
Simplest gaurd clauses
A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.
A library of extension methods to validate arguments.
Small .NET library providing guard clauses.
Provides functionality for creation of both synchronous and asynchronous generic guard clauses with custom preconditions and already contains implementation of basic ones for Collections, Enums, Strings, Objects and Numeric types.
A simple package with guard clause extensions to simplify you life.
Provides extension methods for both synchronous and asynchronous guard clauses for generic types, as well as for Enums, Objects, Collections, Strings, and various numeric types encapsulated in 'SafeContainer'.
A Lexical Parser in C#
A group of Guard Clauses to simplify the traditional "IsNull" assertions.
"A library providing guard clauses for validating method arguments, ensuring code correctness, and enforcing preconditions in .NET applications."
A small and easy package if you want guarding without throwing all those exceptions, but returning a result in either failed or completed state.
A lightweight library for implementing guard clauses to validate arguments and ensure code reliability.
A simple .NET library for easily writing tests for guard clauses.
Guard Clauses Library for C# is a simple, flexible, and extensible validation and error handling tool for your C# applications. It provides easy-to-implement guard clauses to validate method parameters and protect your code from common runtime errors like null, empty, or invalid values. With customizable exception handling, this library ensures your application remains robust and error-free.