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.ServiceHub.Framework
The distributed ServiceHub Framework.
7
Microsoft.ServiceHub.Framework
The distributed ServiceHub Framework.
8
Microsoft.VisualStudio.Composition
Lightning fast MEF engine, supporting System.ComponentModel.Composition and System.Composition.
7
Microsoft.VisualStudio.Composition
Lightning fast MEF engine, supporting System.ComponentModel.Composition and System.Composition.
9
Microsoft.VisualStudio.CoreUtility
Microsoft® Visual Studio® Editor Platform
9
Microsoft.VisualStudio.Language
Microsoft® Visual Studio® Editor Platform
9
Microsoft.VisualStudio.LanguageServer.Client
Visual Studio client side APIs for interacting with a Language Server Protocol enabled server.
8
Microsoft.VisualStudio.LanguageServer.Client
Visual Studio client side APIs for interacting with a Language Server Protocol enabled server.
9
Microsoft.VisualStudio.SDK
Visual Studio SDK meta-package. Reference this to get references to most other Visual Studio extensibility packages.
7
Microsoft.VisualStudio.Text.Data
Microsoft® Visual Studio® Editor Platform
13
Microsoft.VisualStudio.Text.Logic
Microsoft® Visual Studio® Editor Platform
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).
8
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).
13
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).
19
Microsoft.VisualStudio.Utilities
A member of the Visual Studio SDK
7
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.
11

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 8 05/10/2024
17.6.11 0 04/01/2023
17.6.4-alpha 3 05/20/2024
17.0.71 8 06/14/2023
17.0.64 0 08/09/2022
17.0.50 5 05/06/2024
17.0.46 4 05/05/2024
17.0.43 4 05/03/2024
17.0.42 0 02/17/2022
17.0.34 0 10/08/2021
17.0.25-alpha 0 09/20/2021
17.0.21-alpha 2 05/25/2024
17.0.16-alpha 0 07/19/2021
17.0.12-alpha 4 05/07/2024
17.0.11-alpha 4 05/19/2024
16.10.35 5 06/14/2023
16.10.34 0 07/19/2021
16.9.28 4 06/14/2023
15.3.58 0 06/15/2018
15.3.53 0 04/20/2018
15.3.32 7 06/14/2023
15.3.23 5 06/14/2023
15.0.82 5 06/14/2023
15.0.75 0 01/15/2017
15.0.67 0 01/27/2017
15.0.55-pre 5 06/14/2023
15.0.11-pre 5 05/21/2024
14.1.111 6 06/14/2023
14.0.51103 2 06/14/2023
14.0.50702 0 07/20/2015
14.0.50417-pre 4 05/01/2024
12.0.0 6 05/23/2024