Skip to content

Skybrud.Essentials v1.1.29

Compare
Choose a tag to compare
@abjerner abjerner released this 18 Jun 10:54

Installation

Changelog

  • Introduced new static methods and extension methods for working with enums (see 79a6f6b)
    This release introduces the ToEnum and ToInt32 extension methods in the EnumExtensions class.

  • Introduced new ToStringArray extension methods (see f0b1148)
    The first ToStringArray method takes a string and splits it's into an array using a predefined list of separators. The second ToStringArray method has a second parameter for specifying the separator to be used.

  • EnumUtils.TryParseEnum shouldn't fail if the input is null or empty (see 0952e0c and #13)
    Passing null or an empty string to the method shouldn't trigger an exception, but instead cause to method to return false; indicating that the parsing failed.