| Date | 2025-02-18 (298 days ago) |
|---|---|
| Downloads | 100K 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 .NET 7 |
Install via NuGet - either via the .NET CLI:
dotnet add package Skybrud.Essentials --version 1.1.58or the NuGet Package Manager:
Install-Package Skybrud.Essentials -Version 1.1.58Added missing [NotNullWhen(true)] attribute to one of the IsObsolete method overloads (see 34643c8)
This should make the code analysis happy again.
Implemented Extends and Implements extension methods for the Type class (see #49 and c302d28)
The two new methods introduces a more "friendly" way to determine whether a type extends or implements another class or interface interface.
Made JsonTokenUtils methods public (see #48 and aa3c562)
The JsonTokenUtils class has been used internally in the package for a while for converting JToken instances into something else. Until now the methods have been internal, but since they have a broader usage than just within the package, they are now public instead.
Added extension methods for the Regex class (see #47 and a7e921e)
Similar to the RegexUtils.IsMatch methods already in the package, IsMatch extension methods are now available for Regex instances.
Introduced new GetRequired{Type} extension methods for JObject (see 16a0706)
This release introduces an alternative to the existing Get{Type} extension methods. While the existing GetString, GetInt32 and similar methods already in the package are designed to somewhat failed silent if the underlying property doesn't exist or the value type doesn't match, the GetRequiredString, GetRequiredInt32 and similar methods will throw an exception if a required value isn't found.
Added new Get{Type}Value and GetRequired{Type}Value extension methods for XElement (see b906fb6)
These methods are intended to replace the existing GetAttributeValue and GetElementValue methods, since the new methods have better naming and also proper support for nullable (reference) types.