Dependency injection is used in object oriented languages such as Java and C# to isolate pieces of functionality and allow you to swap them out. This helps with unit testing and high level configuration without having to modify the business logic in your code.
In this video I'll explain what dependency injection is and how it works, with an example in C#. We will also touch on the wider concept of Inversion of Control, to which Dependency Injection contributes.
00:00 Introduction
00:22 What Is Dependency Injection
00:59 Code Example
03:36 Abstractions
05:22 Using Dependencies
07:43 DI Containers
10:40 Conclusion
На этой странице сайта вы можете посмотреть видео онлайн Dependency Injection Explained длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Train To Code 21 Июнь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 285 раз и оно понравилось 12 зрителям. Приятного просмотра!