Microsoft.VisualStudio.Validation 17.0.65
Microsoft.VisualStudio.Validation
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.VisualStudio.Composition
Lightning fast MEF engine, supporting System.ComponentModel.Composition and System.Composition.
|
30 |
|
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
|
28 |
|
Microsoft.VisualStudio.Composition
Lightning fast MEF engine, supporting System.ComponentModel.Composition and System.Composition.
|
28 |
|
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
|
27 |
|
Microsoft.VisualStudio.Composition
Lightning fast MEF engine, supporting System.ComponentModel.Composition and System.Composition.
|
27 |
|
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
|
26 |
|
Microsoft.VisualStudio.Composition
Lightning fast MEF engine, supporting System.ComponentModel.Composition and System.Composition.
|
26 |
|
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
|
25 |
https://github.com/microsoft/vs-validation/releases/tag/v17.0.65
.NET Standard 2.0
- No dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 17.0.65 | 21 | 07/09/2025 |
| 17.0.34 | 20 | 07/13/2025 |
| 17.0.11-alpha | 23 | 07/09/2025 |