22 packages tagged with “init”
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.
sources custom init scripts and includes custom powershell modules in the package manager console
Allows for 'records' and 'init' setters in .NET Standard 2.0 projects, among other things. See README for how to use and install.
C# source code only package which allows to use C# 9's 'init only setters' feature targeting frameworks older than .NET 5.0. This package generats a polyfill type to resolve "Error CS0518 - Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported". See https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/init for more info. Package documentation on github: https://github.com/6bee/aqua-tools/tree/v2.2.9#aquatoolpolyfillisexternalinit
Enables SkipLocalsInit by simply specifying the dev NuGet package.
CoreApp makes easier to control your dependencies and modules
A simple library intended to clean up the start code for .NET Core MVC applications.
Scripts to automate common development tasks
给SDK-Style,同时.Net版本低于.Net5的项目提供C#9.0的init和record特性。 To SDK style, at the same time Net version is lower than The Net5.0 project provides the init and record features of C#9.0.
给SDK-Style,同时.Net版本低于.NetCore3.0的项目提供C#8.0的Index和Range特性。 To SDK style, at the same time .Net version is lower than NetCore3.0 project provides the index and range features of C#8.0.
SimpleInjector integration for CoreApp
Autofac integration for CoreApp
Ninject integration for CoreApp
Unity integration for CoreApp
Simple compile-time dependency for allowing the use of modern C# features in older build targets.
IsExternalInit implementation
A bootstrapper for NuGet packages
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.
Material__auto Init (material__auto-init) binding library for Bridge.NET projects.
Source-only polyfills for netstandard2.0: nullable attributes, language features (init, required, params collections), trim attributes, Index/Range, Lock, TimeProvider, StackTraceHidden, UnreachableException, and more. All types are internal and #if-gated by target framework.