The 5 Minute Tour – Page 5

Example Code

Dependency injection is fulfilled via [Inject].

You can declare injection bindings via [Injectable].

Dependency injection is bundle-aware. Potomac will load bundles as necessary to satisfy an injection or class creation.

Potomac supports constructor injection, method injection, and field injection.


<< Back | Next >>