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
PCLCrypto
PCL Crypto provides a consistent, portable set of crypto APIs for .NET 4.5, Windows Store, Xamarin.iOS, Xamarin.Android. This makes it easier to create cross-platform .NET libraries and apps. Crypto functionality includes asymmetric and symmetric encryption and signatures, and key derivation. PCLCrypto calls into each native platform's crypto API for maximum performance. For RSA operations this produces a 2-100X improvement in performance on Android and iOS over using the standard RSACryptoServiceProvider API.
36
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).
25
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
23
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).
23
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).
22
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).
21
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
21
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
20

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 27 12/10/2023
17.6.11 26 07/27/2023
17.6.4-alpha 29 07/27/2023
17.0.71 29 07/27/2023
17.0.65 33 07/27/2023
17.0.64 25 07/27/2023
17.0.53 25 07/27/2023
17.0.50 28 07/27/2023
17.0.46 25 07/27/2023
17.0.43 29 07/27/2023
17.0.42 27 07/27/2023
17.0.34 31 07/27/2023
17.0.28 27 07/27/2023
17.0.25-alpha 30 07/27/2023
17.0.21-alpha 31 07/27/2023
17.0.16-alpha 22 07/27/2023
17.0.12-alpha 25 07/27/2023
17.0.11-alpha 26 07/27/2023
16.10.35 25 07/27/2023
16.10.34 23 07/27/2023
16.10.26 24 07/27/2023
16.9.32 29 07/27/2023
16.9.28 26 07/27/2023
16.9.27-alpha 23 07/27/2023
16.8.33 24 07/27/2023
15.5.31 27 07/27/2023
15.5.3 27 07/27/2023
15.3.58 20 07/27/2023
15.3.53 25 07/27/2023
15.3.32 25 07/27/2023
15.3.23 27 07/27/2023
15.3.15 29 07/27/2023
15.0.82 24 07/27/2023
15.0.75 28 07/27/2023
15.0.67 22 07/27/2023
15.0.55-pre 22 07/27/2023
15.0.11-pre 19 07/27/2023
14.1.111 25 07/27/2023
14.0.51103 31 07/27/2023
14.0.50702 22 07/27/2023
14.0.50417-pre 23 07/27/2023
12.0.0 35 07/27/2023