There is a newer version of this package available.
See the version list below for details.
dotnet add package Validation --version
NuGet\Install-Package Validation -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Validation" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Validation --version
#r "nuget: Validation,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Validation as a Cake Addin
#addin nuget:?package=Validation&version=

// Install Validation as a Cake Tool
#tool nuget:?package=Validation&version=

Method input validation and runtime checks that report errors or throw exceptions when failures are detected.
Check out the code snippets available at and make your input validation even easier with auto-completion for quoted parameter names.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (96)

Showing the top 5 NuGet packages that depend on Validation:

Package Downloads
Xunit.SkippableFact The ID prefix of this package has been reserved for one of the owners of this package by

Make your Xunit test methods self-determine to report a "skipped" result. Useful for such cases as "not supported on this platform" results or other environmental inputs.

Microsoft.Diagnostics.EventFlow.Core The ID prefix of this package has been reserved for one of the owners of this package by

Defines core interfaces and types that comprise Microsoft.Diagnostics.EventFlow library.

Microsoft.Diagnostics.EventFlow.EtwUtilities The ID prefix of this package has been reserved for one of the owners of this package by

Provides utility classes for processing data from Event Tracing for Windows (ETW) providers.

Microsoft.Diagnostics.EventFlow.Outputs.EventHub The ID prefix of this package has been reserved for one of the owners of this package by

Provides an output implementation that sends diagnostics data to Azure Event Hubs.


Provides the HttpResponseMessage.AsActionResult() extension method.

GitHub repositories (28)

Showing the top 5 popular GitHub repositories that depend on Validation:

Repository Stars
Sample apps built using the Xamarin.Forms framework
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
Plugins for Xamarin
A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
A C# implementation of the OpenID, OAuth protocols
Version Downloads Last updated
2.6.13-beta 4,083 12/25/2021
2.6.7-beta 346 10/1/2021
2.5.51 375,792 12/29/2021
2.5.42 232,294 7/5/2021
2.5.5-beta 19,813 9/25/2020
2.4.22 1,873,426 3/26/2019
2.4.18 16,219,650 10/31/2017
2.4.17 7,742 10/29/2017
2.4.15 2,145,986 3/15/2017
2.4.15-g8377954d86 7,359 3/15/2017
2.4.13 197,408 3/5/2017
2.4.10 13,578 2/25/2017
2.4.9 29,942 2/21/2017
2.4.7 8,565 2/17/2017
2.3.7 811,678 8/14/2016
2.3.5 24,210 7/30/2016
2.2.8 2,980,204 10/10/2015
2.2.5 8,326 10/8/2015
2.2.4 8,581 10/6/2015 826,177 1/4/2015 38,714 10/14/2014 214,282 4/14/2014 235,846 11/19/2013 473,395 1/22/2013 11,941 12/27/2012 67,947 11/15/2012 10,069 9/15/2012

v2.0.3 adds targetability of Xamarin MonoTouch and MonoAndroid.
v2.0.2 corrects an error message and adds code snippets.
v2.0.1 allows partially trusted callers.