Skip to content
 
 

Repository files navigation

Argument.Validators

Common annotation and argument validation support

Build Status

Build status

Examples

using namespace Ubiquity.ArgValidators
//...
public static object Load( string path, object foo, int bar )
{
    path.ValidateNotNullOrWhiteSpace( nameof( path ) );
    foo.ValidateNotNull( nameof( foo ) );
    bar.ValidateRange( 3, 5, nameof( bar ) );

    //...
}

About

Common annotation and argument validation support

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages