IsExternalInit 1.0.1
See the version list below for details.
dotnet add package IsExternalInit --version 1.0.1
NuGet\Install-Package IsExternalInit -Version 1.0.1
<PackageReference Include="IsExternalInit" Version="1.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
paket add IsExternalInit --version 1.0.1
#r "nuget: IsExternalInit, 1.0.1"
// Install IsExternalInit as a Cake Addin
#addin nuget:?package=IsExternalInit&version=1.0.1
// Install IsExternalInit as a Cake Tool
#tool nuget:?package=IsExternalInit&version=1.0.1
A source code only package which allows you to use C# 9's init and record features in older target frameworks like .NET Standard 2.0 or the "old" .NET Framework by providing a polyfill for the IsExternalInit class.
This package does not contain any compiled binaries, but instead adds the IsExternalInit class 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 IsExternalInit class. For example, if you create a library which multi-targets .NET Standard 2.0 and .NET 5.0, the IsExternalInit class is not provided in the .NET 5.0 compilation, because .NET 5.0 already provides support for the class by default.
Please see https://github.com/manuelroemer/IsExternalInit for additional information on how to use this package.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net20 net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | uap uap10.0 |
Windows Phone | wp8 wp81 wpa81 |
Windows Store | netcore netcore45 netcore451 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
This package has no dependencies.
NuGet packages (6)
Showing the top 5 NuGet packages that depend on IsExternalInit:
Package | Downloads |
---|---|
Yoakke.Polyfill
A collection of .NET libraries to help compiler development. |
|
Kull.Data
Kull.Data Class Library |
|
bebop
The .NET runtime for Bebop, a schema-based binary serialization format. |
|
GitHub.VsTest.Logger
GitHub Actions adapter for Microsoft.TestPlatform |
|
rm.DelegatingHandlers
Provides DelegatingHandlers. |
GitHub repositories (25)
Showing the top 5 popular GitHub repositories that depend on IsExternalInit:
Repository | Stars |
---|---|
spectreconsole/spectre.console
A .NET library that makes it easier to create beautiful console applications.
|
|
dotnet/reactive
The Reactive Extensions for .NET
|
|
neuecc/MessagePack-CSharp
Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]
|
|
morelinq/MoreLINQ
Extensions to LINQ to Objects
|
|
SubnauticaNitrox/Nitrox
An open-source, multiplayer modification for the game Subnautica.
|