CSharpRecordEnabler 1.0.2

Install-Package CSharpRecordEnabler -Version 1.0.2
dotnet add package CSharpRecordEnabler --version 1.0.2
<PackageReference Include="CSharpRecordEnabler" Version="1.0.2">
  <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.
paket add CSharpRecordEnabler --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CSharpRecordEnabler, 1.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CSharpRecordEnabler as a Cake Addin
#addin nuget:?package=CSharpRecordEnabler&version=1.0.2

// Install CSharpRecordEnabler as a Cake Tool
#tool nuget:?package=CSharpRecordEnabler&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A source code only package which allows you to use .NET's new C# 9 Record feature in older target frameworks like .NET Standard 2.0, .NET Core App below 5 or the old .NET Framework.

This package does not contain any compiled binaries, but instead adds the required classes as C# source code to your project. Because this code is compiled together with the rest of your code, the built binaries will not have a dependency on this package, meaning that you can perfectly use it for both libraries and applications.

The C# code is only included if you are targeting a framework version which does not support the new record feature.

Please see https://github.com/ChristophWeigert/CSharpRecordEnabler for additional information on how to use this package.

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
1.0.2 258 11/20/2020
1.0.1 223 11/20/2020
1.0.0 351 11/20/2020