Validation 2.6.68
dotnet add package Validation --version 2.6.68
NuGet\Install-Package Validation -Version 2.6.68
<PackageReference Include="Validation" Version="2.6.68" />
paket add Validation --version 2.6.68
#r "nuget: Validation, 2.6.68"
// Install Validation as a Cake Addin #addin nuget:?package=Validation&version=2.6.68 // Install Validation as a Cake Tool #tool nuget:?package=Validation&version=2.6.68
Validation
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 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.6.2
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (78)
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. |
|
Microsoft.Diagnostics.EventFlow.Outputs.EventHub
Provides an output implementation that sends diagnostics data to Azure Event Hubs. |
|
ImmutableTrie
Immutable collections that use trie as their internal data structure, and provide a direct replacement for the .net's implementation of ImmutableList and ImmutableDictionary |
GitHub repositories (29)
Showing the top 5 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.
|
|
aws/aws-sdk-net
The official AWS SDK for .NET. For more information on the AWS SDK for .NET, see our web site:
|
|
xamarin/XamarinComponents
Plugins for Xamarin
|
Version | Downloads | Last updated |
---|---|---|
2.6.68 | 1,136 | 12/20/2024 |
2.6.65-rc.2 | 63 | 12/20/2024 |
2.6.55-rc.1 | 65 | 12/20/2024 |
2.6.13-beta | 28,550 | 12/25/2021 |
2.6.7-beta | 607 | 10/1/2021 |
2.5.51 | 1,629,551 | 12/29/2021 |
2.5.42 | 450,217 | 7/5/2021 |
2.5.5-beta | 24,062 | 9/25/2020 |
2.4.22 | 2,477,803 | 3/26/2019 |
2.4.18 | 33,199,959 | 10/31/2017 |
2.4.17 | 8,037 | 10/29/2017 |
2.4.15 | 2,685,094 | 3/15/2017 |
2.4.15-g8377954d86 | 7,561 | 3/15/2017 |
2.4.13 | 271,126 | 3/5/2017 |
2.4.10 | 13,871 | 2/25/2017 |
2.4.9 | 32,165 | 2/21/2017 |
2.4.7 | 10,306 | 2/17/2017 |
2.3.7 | 908,329 | 8/14/2016 |
2.3.5 | 42,107 | 7/30/2016 |
2.2.8 | 3,485,462 | 10/10/2015 |
2.2.5 | 8,885 | 10/8/2015 |
2.2.4 | 9,127 | 10/6/2015 |
2.0.6.15003 | 1,047,854 | 1/4/2015 |
2.0.5.14286 | 44,946 | 10/14/2014 |
2.0.4.14103 | 237,473 | 4/14/2014 |
2.0.3.13323 | 272,960 | 11/19/2013 |
2.0.2.13022 | 673,698 | 1/22/2013 |
2.0.1.12362 | 13,063 | 12/27/2012 |
2.0.0.12319 | 82,911 | 11/15/2012 |
1.0.0.12259 | 11,694 | 9/15/2012 |