Microsoft.VisualStudio.Validation 17.6.4-alpha

Microsoft.VisualStudio.Validation

NuGet package Build Status codecov

This project is available as the [Microsoft.VisualStudio.Validation][1] NuGet package.

Basic input validation via the Requires class throws an ArgumentException.

Requires.NotNull(arg1, nameof(arg1));
Requires.NotNullOrEmpty(arg2, nameof(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");

[1]: http://nuget.org/packages/Microsoft.VisualStudio.Validation "Microsoft.VisualStudio.Validation NuGet package"

Showing the top 20 packages that depend on Microsoft.VisualStudio.Validation.

Packages Downloads
Microsoft.ApplicationInsights.Profiler.Core
Core Library for Microsoft Application Insights Profiler.
14
Microsoft.VisualStudio.Composition
Lightning fast MEF engine, supporting System.ComponentModel.Composition and System.Composition.
13
Microsoft.VisualStudio.ComponentModelHost
Package Description
12
Microsoft.VisualStudio.Composition
Lightning fast MEF engine, supporting System.ComponentModel.Composition and System.Composition.
12

https://github.com/microsoft/vs-validation/releases/tag/v17.6.4-alpha

.NET 6.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
17.8.8 13 11/23/2024
17.6.11 9 10/06/2024
17.6.4-alpha 11 10/25/2024
17.0.71 12 10/06/2024
17.0.65 12 10/06/2024
17.0.64 9 10/06/2024
17.0.53 8 11/23/2024
17.0.50 11 11/23/2024
17.0.46 11 11/23/2024
17.0.43 9 10/06/2024
17.0.42 11 11/23/2024
17.0.34 8 11/23/2024
17.0.28 11 11/23/2024
17.0.25-alpha 12 10/06/2024
17.0.21-alpha 12 10/06/2024
17.0.16-alpha 12 11/23/2024
17.0.12-alpha 12 10/06/2024
17.0.11-alpha 11 10/14/2024
16.10.35 12 10/06/2024
16.10.34 11 11/23/2024
16.10.26 11 11/23/2024
16.9.32 8 11/23/2024
16.9.28 9 10/06/2024
16.9.27-alpha 9 10/06/2024
16.8.33 11 10/14/2024
15.5.31 9 10/06/2024
15.5.3 11 11/23/2024
15.3.58 11 11/23/2024
15.3.53 12 10/06/2024
15.3.32 12 11/23/2024
15.3.23 11 11/23/2024
15.3.15 10 10/06/2024
15.0.82 11 11/23/2024
15.0.75 12 10/06/2024
15.0.67 10 10/06/2024
15.0.55-pre 12 10/06/2024
15.0.11-pre 8 11/23/2024
14.1.111 11 11/23/2024
14.0.51103 11 11/23/2024
14.0.50702 10 11/23/2024
14.0.50417-pre 8 10/06/2024
12.0.0 8 11/23/2024