| Date | 2023-07-13 (848 days ago) |
|---|---|
| Downloads | 31K downloads |
| NuGet | View on NuGet |
| GitHub | View on GitHub |
| Target Frameworks | .NET Standard 1.1 .NET Standard 1.3 .NET Standard 2.0 .NET 4.5 .NET 4.6 .NET 4.7 .NET 4.8 .NET 5 .NET 6 |
Install via NuGet - either via the .NET CLI:
dotnet add package Skybrud.Essentials --version 1.1.50or the NuGet package manager:
Install-Package Skybrud.Essentials -Version 1.1.50The json parameter of the TryParseJson... methods should be nullable (see ee2d02b)
No reason not to. If the json parameter is null, parsing will fail and the methods will return false.
Added misc extension methods for IDictionary<object, object?> (see 9fef978 and 373408f)
The new extension methods creates an easier way to get type specific values from the dictionary - eg. GetInt32 and TryGetInt32 extension methods for getting a value as an integer.
Fixed ArrayUtils.Empty(type) method (see c65912a)
The method uses reflection to call the generic method overload, but would fail to so. The added unit test confirms the issue as well as that the issue has now been fixed.
Added RegexReplace extension methods for System.String (see 00679ed)
The new RegeExtensions.RegexReplace extensions methods allows doing a regex replacements in a method chain opposed to using .NET's static Regex.Replace methods.