Fixed loading by base_type

This commit is contained in:
2022-05-24 18:13:39 +02:00
parent 353c1d30ec
commit 35ecf158a2
4 changed files with 14 additions and 6 deletions

View File

@@ -49,4 +49,5 @@ class Application(ApplicationABC):
test2: TestService = self._services.get_service(TestService)
ip_pipe2: IPAddressPipe = self._services.get_service(IPAddressPipe)
Console.write_line(f'DI working: {test == test2 and ip_pipe != ip_pipe2}')
Console.write_line(self._services.get_service(LoggerABC))
# self.test_send_mail()