Refactorius.Common.Core.Source 11.1.1

dotnet add package Refactorius.Common.Core.Source --version 11.1.1
                    
NuGet\Install-Package Refactorius.Common.Core.Source -Version 11.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Refactorius.Common.Core.Source" Version="11.1.1">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Refactorius.Common.Core.Source" Version="11.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Refactorius.Common.Core.Source">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Refactorius.Common.Core.Source --version 11.1.1
                    
#r "nuget: Refactorius.Common.Core.Source, 11.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Refactorius.Common.Core.Source@11.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Refactorius.Common.Core.Source&version=11.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Refactorius.Common.Core.Source&version=11.1.1
                    
Install as a Cake Tool

Introduction

This project contains useful utility and extension classes commonly used in my applications for the last 10 years or so.

Getting Started

To use this library, add to your project Refactorius.Common NuGet package (version 11.0.1 or later). There are no external dependencies.

Build and Test

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.

Release notes

Starting from version 11.1.1:

  • obsolete or rarely used classes/methods moved to the Refactorius.Common.Legacy NuGet package.
  • package dependency on JetBrains.Annotations removed; instead, external annotations are generated and included into the package.

Starting from version 11.0.1:

  • targets net 4.6.2, netstandard 2.0, net 6.0
  • TypeNameUtils deprecated

Starting from version 8.0.2:

  • targets only netstandard 2.0

Starting from version 7.0.1:

  • all Xml-related stuff is moved away to Refactorius.Extensions.Xml library
  • source code is cleaned with Resharper on (almort) default settings
  • support for .NET Standard / Core is planned but not just jet.

Notes

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).

Product Compatible and additional computed target framework versions.
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.1.1 340 3/13/2025

The library contains the source code only (mostly for merging into Dynamics plugins).