{"repo":"DevTeam/Pure.DI","free":true,"listed":false,"github":"https://github.com/DevTeam/Pure.DI","clone":"git clone https://github.com/DevTeam/Pure.DI.git","description":"Pure DI for .NET","language":"C#","stars":837,"topics":["ioc","di","dotnet","pure","csharp","source-generator","injection","injection-framework","avalonia","unity"],"license":"MIT","category":"game-templates","readme_excerpt":"Pure.DI for .NET Pure.DI in .NET Matrix Pure.DI is a compile-time dependency injection (DI) code generator . Supports .NET starting with .NET Framework 2.0, released 2005-10-27, and all newer versions. Usage Requirements - .NET SDK 6.0.4+ Required for compilation. Projects can target older frameworks (e.g., .NET Framework 2.0). - C# 8+ Only required for projects using the Pure.DI source generator. Other projects support any C# version. Key Features ✔️ Zero Overhead Pure.DI is a .NET code generator designed to produce clean, efficient dependency injection logic. By leveraging basic language constructs, it generates straightforward code indistinguishable from manual implementation—essentially composing objects through nested constructor invocations. Unlike traditional DI frameworks, Pure.DI avoids reflection and dynamic instantiation entirely, eliminating performance penalties associated with runtime overhead. ✔️ Compile-Time Validation All analysis of object, constructor, and method graphs occurs at compile time. Pure.DI proactively detects and alerts developers to issues such as missing dependencies, cyclic references, or dependencies unsuitable for injection—ensuring these errors are resolved before execution. This approach guarantees that developers cannot produce a program vulnerable to runtime crashes caused by faulty dependency wiring. The validation process operates seamlessly alongside code development, creating an immediate feedback loop: as you modify your code, Pure","default_branch":null,"files":null,"tree":[],"storefront":"/r/DevTeam","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DevTeam/Pure.DI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}