Found 172 packages
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.
Argument validation made simple and unified. It ensures arguments conforms to simple validation rules and provides an uniformed exception throwing strategy if arguments are invalid.
A simple, fluent, extensible, and fully customizable library for throwing exceptions using .NET 6+
Provides classes to support the creation and validation of XML digital signatures. The classes in this namespace implement the World Wide Web Consortium Recommendation, "XML-Signature Syntax and Processing", described at http://www.w3.org/TR/xmldsig-core/. Commonly Used Types: System.Security.Cryptography.Xml.CipherData System.Security.Cryptography.Xml.CipherReference System.Security.Cryptography.Xml.DataObject System.Security.Cryptography.Xml.DataReference System.Security.Cryptography.Xml.DSAKeyValue System.Security.Cryptography.Xml.EncryptedData System.Security.Cryptography.Xml.EncryptedKey System.Security.Cryptography.Xml.EncryptedReference System.Security.Cryptography.Xml.EncryptedType System.Security.Cryptography.Xml.EncryptedXml System.Security.Cryptography.Xml.EncryptionMethod System.Security.Cryptography.Xml.EncryptionProperty System.Security.Cryptography.Xml.EncryptionPropertyCollection System.Security.Cryptography.Xml.KeyInfo System.Security.Cryptography.Xml.KeyInfoClause System.Security.Cryptography.Xml.KeyInfoEncryptedKey System.Security.Cryptography.Xml.KeyInfoName System.Security.Cryptography.Xml.KeyInfoNode System.Security.Cryptography.Xml.KeyInfoRetrievalMethod System.Security.Cryptography.Xml.KeyInfoX509Data System.Security.Cryptography.Xml.KeyReference System.Security.Cryptography.Xml.Reference System.Security.Cryptography.Xml.ReferenceList System.Security.Cryptography.Xml.RSAKeyValue System.Security.Cryptography.Xml.Signature System.Security.Cryptography.Xml.SignedInfo System.Security.Cryptography.Xml.SignedXml System.Security.Cryptography.Xml.Transform System.Security.Cryptography.Xml.TransformChain System.Security.Cryptography.Xml.XmlDecryptionTransform System.Security.Cryptography.Xml.XmlDsigBase64Transform System.Security.Cryptography.Xml.XmlDsigC14NTransform System.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform System.Security.Cryptography.Xml.XmlDsigExcC14NTransform System.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform System.Security.Cryptography.Xml.XmlDsigXPathTransform System.Security.Cryptography.Xml.XmlDsigXsltTransform System.Security.Cryptography.Xml.XmlLicenseTransform
A simple tool library for converting the Expression to sql where clause. Welcome to open issue in https://github.com/zhurongbo111/ExpressionToWhereClause/issues
.NET Core 2.0 & Standard 2.0 port of A simple guard clause project helping you with validation and uniformed exception throwing when validating arguments.
MacroView.VSTO is a collection of assemblies that makes working with Microsoft VSTO easier. This package contains the code that applies to all Microsoft Office applications. Specifically: - Extension methods - WPF helpers - Logging classes
Simplest gaurd clauses
convert expression to sql where clause
Guardian. Mostly of null values. An unobtrusive, lightweight, guard clause source code package: less than 300 lines of code. Should be used like this: Guard.Against.Null(() => parameter); May be extended like this: Guard.Against.Empty(() => collection); Possibly the best tool for the job. Providing the job is simple.
Shield clauses for validating and raising exceptions.
Fork of Ardalis.GuardClauses with .NET 9 support.
A universal polyfill library that provides modern ArgumentNullException.ThrowIf* and ArgumentException.ThrowIf* helper methods across all .NET runtimes (.NET Standard 2.0+, .NET Framework 4.6.2+, .NET 6.0+), enabling consistent argument validation patterns regardless of target framework version.
config model to generate sql where clause
A really simple C# guard clause/validation library
An extensible argument validation package by @JarrydVanHoy that I feel reads quite fluently.
This package provides 1. Attribute based exception handling on actions 2. Inline Exception handling on actions 3. Exception chain