C# - DEPENDENCY INJECTION - Constructor

Поделиться
HTML-код
  • Опубликовано: 16 фев 2019
  • Learn how to do dependency injection in a constructor.

Комментарии • 14

  • @ianmohlie
    @ianmohlie 3 года назад +4

    This has been the best explanation I've seen (and I've watched like 10) so thank you and well done!

  • @vishalpatel3885
    @vishalpatel3885 3 года назад +1

    This is the best explanation I have seen for DI, keep it up.

  • @wolframheidenberger6927
    @wolframheidenberger6927 4 года назад

    "The confusion gives you great benefit" - that saved my day :-) - Thx.

  • @jespinalny
    @jespinalny Год назад

    January 2023 and still AMAZING. WOW

  • @manjitsarma8346
    @manjitsarma8346 4 года назад

    Thank you for the video.Finally I understood DI.Thanks for sharing !!

  • @balramanchandran1690
    @balramanchandran1690 3 года назад

    Theen , Thanks to my day , since i went through the tutorial , which helped me to understand the constructor injection so clearly

    • @balramanchandran1690
      @balramanchandran1690 3 года назад

      Your way of explaining the things was awesome. Thanks Buddy.

  • @rameshwargupta
    @rameshwargupta 3 года назад

    Great Explanation!!!!🙏

  • @utpmahesh444
    @utpmahesh444 4 года назад

    Thank you preparing this video for us.

  • @trustingod0
    @trustingod0 2 года назад

    I think if you could explain Interfaces and why they are used it would help with your overall introduction of dependency injection. Dependency Injection is a very complex topic that involves a lot of other concepts which makes using DI powerful that deserve to be touched on so that people can have a really good understanding and use of DI rather than just illustrating the mechanics of the code. Its just not a 15 minute video and we owe more to developers that are trying to learn how to apply this new powerful design pattern that inplements IoC. We owe them more than this. The best way I can explain it would be that using an Interface along with DI you are creating a paradigm that allows objects to directly talk to each other.

    • @THEENK
      @THEENK  2 года назад +1

      Thanks... there are a lot of parts- so I had to start somewhere to explain it

    • @trustingod0
      @trustingod0 2 года назад

      @@THEENK Thanks for understanding my critique. You did an excellent job at explaining the way the code works. I was just saying that I think the reason why so many people don't get their head around it, is like you said there are other moving parts.

    • @THEENK
      @THEENK  2 года назад +1

      Yes. I guess I was just focusing on the main concept. I'll make more soon!

    • @trustingod0
      @trustingod0 2 года назад

      @@THEENK Thank You !!!