v1.1.61
Installation
Install via NuGet - either via the .NET CLI:
dotnet add package Skybrud.Essentials --version 1.1.61
or the NuGet Package Manager:
Install-Package Skybrud.Essentials -Version 1.1.61
Changelog
-
Fixed issue with
ToInvariantStringextension methods (see a01b5f1)
For the overloading taking anIFormattable, we shouldn't usestring.Formatas the format is directly for theIFormattable. -
Fixed misc issues when getting values from
JArray(see 63c9245)
The idea behind these methods is that they should to call, meaning if you callGetInt32(0)and the item isn't found, or the value cannot be converted to a 32-bit integer, the method should return a default value instead of throwing an exception. As this wasn't the case, the implementation has been updated to reflect this.- added check for min and max values
- no longer tries to cast values
- added additional
GetTypeandTryGetTypeextension methods - added lots of unit tests
- etc.