![]() |
VOOZH | about |
dotnet add package Validation --version 2.6.68
NuGet\Install-Package Validation -Version 2.6.68
<PackageReference Include="Validation" Version="2.6.68" />
<PackageVersion Include="Validation" Version="2.6.68" />Directory.Packages.props
<PackageReference Include="Validation" />Project file
paket add Validation --version 2.6.68
#r "nuget: Validation, 2.6.68"
#:package Validation@2.6.68
#addin nuget:?package=Validation&version=2.6.68Install as a Cake Addin
#tool nuget:?package=Validation&version=2.6.68Install as a Cake Tool
Method input validation and runtime checks that report errors or throw exceptions when failures are detected.
Check out our full documentation.
Basic input validation via the Requires class throws an ArgumentException.
Requires.NotNull(arg1);
Requires.NotNullOrEmpty(arg2);
State validation via the Verify class throws an InvalidOperationException.
Verify.Operation(condition, "some error occurred.");
Internal integrity checks via the Assumes class throws an
InternalErrorException.
Assumes.True(condition, "some error");
Warning signs that should not throw exceptions via the Report class.
Report.IfNot(condition, "some error");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net35 net35 is compatible. net40 net40 was computed. net403 net403 was computed. net45 net45 was computed. net451 net451 was computed. net452 net452 was computed. net46 net46 was computed. net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Validation:
| Package | Downloads |
|---|---|
|
Xunit.SkippableFact
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
Defines core interfaces and types that comprise Microsoft.Diagnostics.EventFlow library. |
|
|
Microsoft.Diagnostics.EventFlow.EtwUtilities
Provides utility classes for processing data from Event Tracing for Windows (ETW) providers. |
|
|
PInvoke.User32
P/Invoke methods for the Windows User32.dll. |
|
|
DotNetOpenAuth.Mvc5
Provides the HttpResponseMessage.AsActionResult() extension method. |
Showing the top 20 popular GitHub repositories that depend on Validation:
| Repository | Stars |
|---|---|
|
mono/SkiaSharp
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.
|
|
|
xamarin/xamarin-forms-samples
Sample apps built using the Xamarin.Forms framework
|
|
|
dotnet/pinvoke
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.
|
|
|
xamarin/XamarinComponents
Plugins for Xamarin
|
|
|
DotNetOpenAuth/DotNetOpenAuth
A C# implementation of the OpenID, OAuth protocols
|
|
|
dotnet/Nerdbank.GitVersioning
Stamp your assemblies, packages and more with a unique version generated from a single, simple version.json file and include git commit IDs for non-official builds.
|
|
| xamarin/mobile-samples | |
|
dvsekhvalnov/jose-jwt
Ultimate Javascript Object Signing and Encryption (JOSE), JSON Web Token (JWT) and Json Web Keys (JWK) Implementation for .NET and .NET Core
|
|
|
pjvds/ncqrs
Ncqrs Framework - The CQRS Framework for .NET
|
|
|
xamarin/Xamarin.Auth
Xamarin.Auth
|
|
|
AArnott/CodeGeneration.Roslyn
Assists in performing Roslyn-based code generation during a build.
|
|
|
Azure/connectthedots
Connect tiny devices to Microsoft Azure services to build IoT solutions
|
|
|
Azure-Samples/MyDriving
Building IoT or Mobile solutions are fun and exciting. This year for Build, we wanted to show the amazing scenarios that can come together when these two are combined. So, we went and developed a sample application. MyDriving uses a wide range of Azure services to process and analyze car telemetry data for both real-time insights and long-term patterns and trends. The following features are supported in the current version of the mobile app.
|
|
|
redis/NRedisStack
Redis Stack .Net client
|
|
|
Azure/diagnostics-eventflow
Microsoft Diagnostics EventFlow
|
|
|
adrianhall/develop-mobile-apps-with-csharp-and-azure
The Book Contents - Develop Mobile Apps with C# and Azure
|
|
|
ffMathy/Shapeshifter
A clipboard manager for the 21st century.
|
|
|
xamarinhq/app-myshoppe
Cross-platform Xamarin.Forms sample for managing stores.
|
|
|
Azure/azure-iot-remote-monitoring
Azure IoT Remote Monitoring preconfigured solution
|
|
|
UiPath/Community.Activities
Repository of Windows Workflow Foundation Activities for UiPath Community
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.6.68 | 2,884,689 | 12/20/2024 |
| 2.6.65-rc.2 | 435 | 12/20/2024 |
| 2.6.55-rc.1 | 428 | 12/20/2024 |
| 2.6.13-beta | 59,225 | 12/25/2021 |
| 2.6.7-beta | 1,029 | 10/1/2021 |
| 2.5.51 | 9,085,534 | 12/29/2021 |
| 2.5.42 | 1,460,743 | 7/5/2021 |
| 2.5.5-beta | 25,171 | 9/25/2020 |
| 2.4.22 | 3,542,224 | 3/26/2019 |
| 2.4.18 | 52,305,871 | 10/31/2017 |
| 2.4.17 | 681,820 | 10/29/2017 |
| 2.4.15 | 3,912,458 | 3/15/2017 |
| 2.4.15-g8377954d86 | 8,220 | 3/15/2017 |
| 2.4.13 | 992,953 | 3/5/2017 |
| 2.4.10 | 687,649 | 2/25/2017 |
| 2.4.9 | 706,012 | 2/21/2017 |
| 2.4.7 | 685,131 | 2/17/2017 |
| 2.3.7 | 1,659,438 | 8/14/2016 |
| 2.3.5 | 512,622 | 7/30/2016 |
| 2.2.8 | 4,284,997 | 10/10/2015 |