Version 1.1.45

Date 2023-01-11 (674 days ago)
Downloads 747 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

#installation">Installation

Install via NuGet - either via the .NET CLI:

dotnet add package Skybrud.Essentials --version 1.1.45

or the NuGet package manager:

Install-Package Skybrud.Essentials -Version 1.1.45

#changelog">Changelog

  • Fixed time zone issues with EssentialsWeek.GetStartOfWeek and EssentialsWeek.GetEndOfWeek methods (see c1782ab)
    The two methods would return wrong results if the EssentialsWeek instance wasn't created from the TimeZoneInfo as specified as parameter for the two methods.

  • Added utility and extension methods for parsing enum lists (see bf4557d)
    This release introduces static utility methods for converting a CSV sting value into a corresponding an array or a list of enum values via the ParseEnumArray and ParseEnumList methods respectively. ToEnumArray and ToEnumList extension methods are now also available to be called directly on a string values.

  • Added extension methods for encoding and hashing string values (see ffd61ca)
    Skybrud.Essentials already contains a number of static Get{Algorithm}Hash utility methods. Matching To{Algorithm}Hash extension methods have now been added as well allowing them to be called directly on string values.