The .NET base class libraries of .NET Framework and .Net Core leaves gaps — handy methods missing from existing types and whole types you end up rewriting in every project — and these extensions fill both, enriching the BCL types and adding the ones it lacks (with the Backports package also letting the same code use modern C# on older runtimes).
| Package | Description | Version | Downloads |
|---|---|---|---|
| FrameworkExtensions.Backports | Extensions to assure newer compiler features work in older versions. | ||
| FrameworkExtensions.Corlib | Extensions for every type of project. | ||
| FrameworkExtensions.ASP.NET | Extensions to ASP.NET. | ||
| FrameworkExtensions.DirectoryServices | Extensions to DirectoryServices. | ||
| FrameworkExtensions.Microsoft.Office | Extensions to Microsoft Office. | ||
| FrameworkExtensions.Microsoft.Win32 | Extensions to Microsoft.Win32. | ||
| FrameworkExtensions.PresentationCore | Extensions to WPF. | ||
| FrameworkExtensions.System.Drawing | Extensions to System.Drawing. | ||
| FrameworkExtensions.System.Windows.Forms | Extensions to WindowsForms. |
# Restore + build a single package (cross-platform packages build anywhere):
dotnet build Corlib.Extensions/Corlib.Extensions.csproj --configuration Release
# Run the unit tests (Windows; multi-target frameworks):
dotnet test Tests/Corlib.Tests/Corlib.Tests.csproj --configuration ReleaseCI builds the cross-platform packages on Linux and runs the test suite on
Windows across the supported target frameworks — see
CI/CD.
Licensed under LGPL-3.0 — see LICENSE.
- give credit to Hawkynt when using
- please open pull requests if you add something
- report issues and get in contact via GitHub
- always deliver the LICENSE file to your code's customer
See CONTRIBUTING for the contribution rules.