Releases: lecaillon/Preconditions
Releases · lecaillon/Preconditions
2.0.2
Bug fix
NotNullOrEmpty(IEnumerable)
and HasNoNulls(IEnumerable)
return the same type as the one passed in parameter
2.0.1
Bug fix
- Add missing NotNullAttribute
2.0.0
Features
- Add support of the new .NET 6
CallerArgumentExpression
attribute
- Add Check.NotEmpty(Guid)
- Add Check.True(Func<bool>)
- Add Check.PositiveOrNull()
- Add Check.NegativeOrNull()
- Add Check.NotNegativeOrNull()
Breaking changes
- Supports .NET 6 and .NET Standard 2.0 only
- Remove Check.Zero()
- Rename Check.NotEmpty(IEnumerable) in Check.NotNullOrEmpty(IEnumerable)
1.4.0
Features
- Add Check.Negative(number)
- Add Check.Zero(number)
1.3.0
Features
- Add Check.Positive(number)
1.2.1
Features
- Add support of .NET 4.5.1
1.2.0
Features
- Add Check.DirectoryExists()
1.1.0
Features
Supported frameworks
- All plateforms targeting .NET Standard 1.3 and higher
1.0.0
Features
- Add Check.NotNullOrEmpty()
- Add Check.NullableButNotEmpty()
- Add Check.NotNull()
- Add Check.NotEmpty()
- Add Check.HasNoNulls()
Supported frameworks
- .NET Core
- .NET Framework
- And all plateforms targeting .NET Standard 1.2 and higher