MVP dependency injection

后端 未结 4 1656
终归单人心
终归单人心 2021-01-30 18:45

using MVP, what is the normal order of construction and dependency injection.

normally you create a presenter for each view and pass the view into the presenter on const

4条回答
  •  清酒与你
    2021-01-30 19:24

    WinformsMVP is a very good MVP framework for Windows forms. You can easily inject an service across multiple views easily using this framework. This is a good article with a sample source code explains how to use the framework.

提交回复
热议问题