Microsoft.VisualStudio.Validation 17.0.43

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
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).
52
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).
50
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).
49
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
49
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).
48
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).
47
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).
45
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).
43
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).
42
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).
41
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).
40

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
17.8.8 27 11/16/2023
17.6.11 44 5/19/2023
17.6.4-alpha 33 3/2/2023
17.0.71 28 7/22/2023
17.0.65 35 7/16/2023
17.0.64 40 9/21/2022
17.0.53 39 7/3/2022
17.0.50 43 7/3/2022
17.0.46 51 7/3/2022
17.0.43 33 7/3/2022
17.0.42 37 7/3/2022
17.0.34 37 7/3/2022
17.0.28 38 7/3/2022
17.0.25-alpha 36 7/3/2022
17.0.21-alpha 45 7/3/2022
17.0.16-alpha 43 7/3/2022
17.0.12-alpha 37 7/3/2022
17.0.11-alpha 35 7/3/2022
16.10.35 40 7/3/2022
16.10.34 40 7/3/2022
16.10.26 40 7/3/2022
16.9.32 31 7/3/2022
16.9.28 33 7/3/2022
16.9.27-alpha 40 7/3/2022
16.8.33 44 7/3/2022
15.5.31 36 7/3/2022
15.5.3 34 7/3/2022
15.3.58 32 7/3/2022
15.3.53 37 7/3/2022
15.3.32 43 7/3/2022
15.3.23 40 7/3/2022
15.3.15 41 7/3/2022
15.0.82 36 7/3/2022
15.0.75 34 7/3/2022
15.0.67 34 7/3/2022
15.0.55-pre 49 7/3/2022
15.0.11-pre 36 7/3/2022
14.1.111 34 7/3/2022
14.0.51103 36 7/3/2022
14.0.50702 37 7/3/2022
14.0.50417-pre 38 7/3/2022
12.0.0 41 7/3/2022