You need to implement the technique of invesion of control in a streamlined and efficient? IoCSharp is what you are looking for!
Install-Package IoCSharp -Version 1.0.0
dotnet add package IoCSharp --version 1.0.0
<PackageReference Include="IoCSharp" Version="1.0.0" />
paket add IoCSharp --version 1.0.0
This package has no dependencies.
This package is not used by any popular GitHub repositories.