Version 1.1.22

Date 2020-07-21 (1,578 days ago)
Downloads 4,493 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

#installation">Installation

#changelog">Changelog

  • Added new GetEnumValues method overload (see 84e57ff)
    The new overload returns an array of Enum - opposed to an instance of the Array class as returned by the native Enum.GetValues method.

  • Introduced new ReflectionUtils class (see e31ab32, 18d1ad3, c030455 and 620c735)
    The new class replaces the AssemblyUtils class and also adds a number of useful methods when working with reflection.

  • Introduced new helper and extension methods for working with regular expression (see bcb5229)
    The new methods doesn't really add any new functionality than the static methods on the Regex class in .NET, but by returning Match or MatchCollection via an out parameter, it may help your code to look a bit more readable or clean.

  • Added new extension methods for converting strings to doubles and floats (9cf2bb6)
    Similar to how this package has had ToBoolean, ToInt32, ToInt64 and ToGuid extension methods for a while, it now has ToDouble and ToFloat extension methods.

  • Improved support for code inspection with JetBrains.Annotations (see f58123a)
    This will help ReSharper give better suggestions when using the methods and parameters that now has been decorated with attributes from the JetBrains.Annotations package.

    JetBrains.Annotations is installed as a dev assembly, meaning that it will not be installed along Skybrud.Essentials, but you still get the benefits of you have ReSharper installed. If use reflection against the decorated methods and parameters, you'll however have to install the JetBrains.Annotations package manually in your project to avoid exceptions about the used attributes not being found.