Skybrud.Essentials v1.1.29
Installation
Changelog
-
Introduced new static methods and extension methods for working with enums (see 79a6f6b)
This release introduces theToEnum
andToInt32
extension methods in the EnumExtensions class. -
Introduced new
ToStringArray
extension methods (see f0b1148)
The firstToStringArray
method takes a string and splits it's into an array using a predefined list of separators. The secondToStringArray
method has a second parameter for specifying the separator to be used. -
EnumUtils.TryParseEnum
shouldn't fail if the input isnull
or empty (see 0952e0c and #13)
Passingnull
or an empty string to the method shouldn't trigger an exception, but instead cause to method to returnfalse
; indicating that the parsing failed.