blitzmax_injection

A really simple dependency injection framework. It can be used to automatically set an object's field values to another object by tagging it with some meta data.

It's useful in situations that have a lot of object instances that need to reference each other. Normally these would need to be set manually or stored globally.

Using the dependency injector and a meta field they can be set automatically.

Examples

Create an object with an injectable field and use DependencyInjector to set the field value.

Table of Contents

IX. Examples
X. Basic example
I. Types
DependencyInjector - Static class that manages injectable fields for object types and injects data into them.
IInjectable - Interface that all injectable objects should extend.
InjectableObject -