d-webservice-example/source/d_webservice_example/component_registration.d

11 lines
389 B
D
Raw Normal View History

2018-12-18 22:18:06 +01:00
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);
}