For further information and updates please visit the projects page.
$ dotnet add package MrMeeseeks.DIEDIE is a secret agency organized by a bunch of Mr. Meeseekses. Its goal is to gather the information necessary to resolve your dependencies. Therefore, …
The acronym DIE stands for Dependency Injection DIE
Let the secret agency DIE compose these info in order to build factory methods which create instances of types of your choice.
MrMeeseeks.DIE (in this documentation just referred to as DIE) is a compile-time dependency injection container for .Net. As such it generates factory methods which create instances that you need. Instead of relying on reflection the generated code uses the good old new operator to create instances like you would probably do yourself if you'd create a pure DI container.
The easiest way to use DIE is to get it via nuget. Here is the package page:
https://www.nuget.org/packages/MrMeeseeks.DIE/
Either search for MrMeeseeks.DIE in the nuget manager of the IDE of your choice.
Or call the following PowerShell command:
Install-Package MrMeeseeks.DIE
Or manually insert the package reference into the target .csproj:
<PackageReference Include="MrMeeseeks.DIE" Version="[preferrably the current version]" />
Or manually add the package reference to the target .csproj:
<PackageReference Include="MrMeeseeks.DIE" Version="[preferrably the current version]" />
Please visit https://die.mrmeeseeks.dev/ for a documentation.