Container

A container is a class that can perform dependency resolution at compile-time, finding any dependencies through the template parameter.

Members

Functions

execute
auto execute(Type type)

Executes a method, automatically resolving any required parameters.

execute
auto execute(Type type)

Executes a method, automatically resolving any required parameters.

executeAll
void executeAll()

Executes all methods with a specific annotation.

resolve
Type resolve()

Resolve a types and returns an instance of that type.

resolve
Type resolve()

Resolve a types and returns an instance of that type.

resolve
Type resolve()

Resolve a types and returns an instance of that type.

Templates

resolve
template resolve(Type)

Resolve a types and returns an instance of that type.

Meta