The Refactorius common utility library provides some helpful utility functions and extension methods used in the Refactorius code.
$ dotnet add package Refactorius.CommonThis project contains useful utility and extension classes commonly used in my applications for the last 10 years or so.
To use this library, add to your project Refactorius.Common NuGet package (version 11.0.1 or later). There are no external dependencies.
The project is build with VS2022 for net 4.6.2, netstandard 2.0 and net 6.0.
Testing is work in progress - the comprehensive xUnit based test project existed but was lost in the mists of time.
Starting from version 11.1.1:
Starting from version 11.0.1:
Starting from version 8.0.2:
Starting from version 7.0.1:
The usage of extension methods on possibly null or nullable class (no) intances is an aquired taste.
The usage of extension methods on System.String is even more so.
I like my code to be as concise as possible. If you disagree with that, use these extension methods via their containing static classes (or not at all).