You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presenter is already using dependency injection. I guess your question is about dependency injection containers. You don't need to use a DI container, just wire everything up in Main() like in the example. This is called Poor Man's Dependency Injection/Pure Dependency Injection and Main() is the Composition Root.
For background, see Mark Seemann's blog posts on these patterns here, here and here.
Hello,
Could you be kind enough to provide a fast/simple example on how would someone add dependency injection to this concept?
I fail to figure out how it's gonna work in WinForms.
Thank you!
The text was updated successfully, but these errors were encountered: