11 lines
389 B
D
11 lines
389 B
D
|
module d_webservice_example.component_registration;
|
||
|
|
||
|
import aermicioi.aedi : ConfigurableContainer, scan;
|
||
|
|
||
|
void registerComponents(ConfigurableContainer container) @safe
|
||
|
{
|
||
|
container.scan!(d_webservice_example.business.todo_service);
|
||
|
container.scan!(d_webservice_example.controller.todo_controller);
|
||
|
container.scan!(d_webservice_example.dataaccess.in_memory_todo_repository);
|
||
|
}
|