Light.GuardClauses 1.3.0

A lightweight library for expressive Guard Clauses with conditional compilation in .NET.

Install-Package Light.GuardClauses -Version 1.3.0
dotnet add package Light.GuardClauses --version 1.3.0
paket add Light.GuardClauses --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

New assertion methods for DateTime: MustBeUtc, MustBeLocal, and MustBeUnspecified.
New assertion methods for Uri: MustBeAbsoluteUri, and MustHaveScheme

New assertion methods that won't throw exceptions:
 - IsValidEnumValue,
 - IsEmpty (for GUIDs),
 - IsIn and IsNotIn (ranges),
 - IsNullOrEmpty (for collections and strings)
 - IsNullOrWhiteSpace (for strings)
 - IsSameAs (for object references)
 - ContainsOnlyLetters and ContainsOnlyLettersAndDigits (for strings)

Check out the history: https://github.com/feO2x/Light.GuardClauses/releases

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
3.5.0 93 9/3/2017
3.4.0 49 8/27/2017
3.3.0 222 8/15/2017
3.2.0 48 8/13/2017
3.1.0 53 8/6/2017
3.0.0 72 7/23/2017
2.0.0 297 5/29/2017
1.3.0 (current version) 85 4/12/2017
1.2.1 202 11/16/2016
1.2.0 191 7/25/2016
1.1.0 131 6/2/2016
1.0.0 109 6/1/2016
0.2.0 123 3/29/2016
0.1.0 114 3/23/2016
Show less