Microsoft.VisualStudio.Validation 17.0.46

Microsoft.VisualStudio.Validation

NuGet package Build Status codecov

This project is available as the Microsoft.VisualStudio.Validation 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");

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

Packages Downloads
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
7
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
7
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
6
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
6

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

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
17.8.8 4 04/28/2024
17.6.11 4 04/28/2024
17.6.4-alpha 3 04/28/2024
17.0.71 4 04/28/2024
17.0.65 3 04/28/2024
17.0.64 7 04/12/2024
17.0.53 5 04/28/2024
17.0.50 4 04/28/2024
17.0.46 4 04/15/2024
17.0.43 7 04/28/2024
17.0.42 4 04/28/2024
17.0.34 3 04/28/2024
17.0.28 4 04/28/2024
17.0.25-alpha 3 04/28/2024
17.0.21-alpha 3 04/28/2024
17.0.16-alpha 4 04/28/2024
17.0.12-alpha 3 04/28/2024
17.0.11-alpha 3 04/28/2024
16.10.35 3 04/28/2024
16.10.34 3 04/28/2024
16.10.26 3 04/28/2024
16.9.32 4 04/28/2024
16.9.28 4 04/28/2024
16.9.27-alpha 4 04/28/2024
16.8.33 3 04/28/2024
15.5.31 3 04/28/2024
15.5.3 3 04/28/2024
15.3.58 4 04/28/2024
15.3.53 3 04/28/2024
15.3.32 6 04/28/2024
15.3.23 4 04/28/2024
15.3.15 7 04/28/2024
15.0.82 3 06/17/2024
15.0.75 4 04/28/2024
15.0.67 3 04/28/2024
15.0.55-pre 3 04/28/2024
15.0.11-pre 4 04/28/2024
14.1.111 3 04/28/2024
14.0.51103 3 04/28/2024
14.0.50702 4 04/28/2024
14.0.50417-pre 4 03/31/2024
12.0.0 3 04/28/2024