11 packages tagged with “IsExternalInit”
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.
Theraot.Core is a .NET Backport (ValueTask, ValueTuple, Task, Expressions, Linq, ThreadLocal, IsExternalInit, Range, Index, etc...) for .NET Framework. .NET Core, .NET Standard
Allows for 'records' and 'init' setters in .NET Standard 2.0 projects, among other things. See README for how to use and install.
MicroElements source code only package: IsExternalInit. Record support for dotnet versions before .NET 5.0.
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.
Simple compile-time dependency for allowing the use of modern C# features in older build targets.
IsExternalInit implementation
Simple compile-time dependency for allowing the use of C# 9 features in older build targets.
A simple compatibility package that ambiently links compatibility shim source files for compilation. Use to add support for ranges, indexes, records and init properties.
Source-only Compatibility shims (e.g., IsExternalInit) for WuGing.AzureDevOps.Client to support older frameworks.
This package contains missing items that allows you to use the latest C# language features in .NET Framework and Standard.