InjectorSCG 1.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package InjectorSCG --version 1.0.6
NuGet\Install-Package InjectorSCG -Version 1.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="InjectorSCG" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add InjectorSCG --version 1.0.6
#r "nuget: InjectorSCG, 1.0.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install InjectorSCG as a Cake Addin
#addin nuget:?package=InjectorSCG&version=1.0.6

// Install InjectorSCG as a Cake Tool
#tool nuget:?package=InjectorSCG&version=1.0.6

InjectorSCG

This is a personal tool I use for my custom service locator. Use [Inject] before a variable to inject it with a value using ServiceManager.GetService<Type>().

If there's no constructor, it will run without changes.

If there's a constructor, you must call __inject(); from the constructor. If not called, you'll get a warning.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.7 69 6/8/2024
1.0.6 61 6/8/2024
1.0.5 71 6/8/2024
1.0.2 64 6/8/2024
1.0.1 68 6/8/2024
1.0.0 66 6/8/2024