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
Sur cette page du site, vous pouvez voir la vidéo en ligne Dependency Injection Explained durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Train To Code 21 juin 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 285 fois et il a aimé 12 téléspectateurs. Bon visionnage!