Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

A very simple C# dependency injection library, originally made for use in Godot, but it could be used in any other engine, or even in a standalone C# project (although for that I would highly recommend an actual DI library, as this is very basic)

License

Notifications You must be signed in to change notification settings

Noctree/Simple-Dependency-Injection

Repository files navigation

Simple-Dependency-Injection

A very simple C# dependency injection library. Originally made for use in the Godot game engine, but it could be used in any other engine, or even in a standalone C# project (although for that I would highly recommend an actual DI library, as this is very basic)

Supports waiting for dependency registration. For example if Godot node A has node B as dependency, but A called ResolveDependencies before B, it can wait for B to register itself as a dependency and then get notified once all the dependencies are available trough an interface callback.

About

A very simple C# dependency injection library, originally made for use in Godot, but it could be used in any other engine, or even in a standalone C# project (although for that I would highly recommend an actual DI library, as this is very basic)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages