Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Common input and integrity validation routines for Visual Studio and other applications

License

NotificationsYou must be signed in to change notification settings

microsoft/vs-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet packageBuild Statuscodecov

This project is available as theMicrosoft.VisualStudio.Validation NuGet package.

Basic input validation via theRequires class throws an ArgumentException.

Requires.NotNull(arg1,nameof(arg1));Requires.NotNullOrEmpty(arg2,nameof(arg2));

State validation via theVerify class throws an InvalidOperationException.

Verify.Operation(condition,"some error occurred.");

Internal integrity checks via theAssumes class throws anInternalErrorException.

Assumes.True(condition,"some error");

Warning signs that should not throw exceptions via theReport class.

Report.IfNot(condition,"some error");

About

Common input and integrity validation routines for Visual Studio and other applications

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors27

Languages


[8]ページ先頭

©2009-2025 Movatter.jp