Is Dependency Injection possible with a WPF application?

前端 未结 8 1001
忘了有多久
忘了有多久 2021-01-30 21:05

I want to start using dependency injection in my WPF application, largely for better unit testability. My app is mostly constructed along the M-V-VM pattern. I\'m looking at Aut

8条回答
  •  走了就别回头了
    2021-01-30 21:55

    I think You have to Decide on View First or Viewmodel First then as given the other answer it Can be decide.. There are several open source framework does it same . I use Caliburn where ViewModel first is taken and its really good approach

提交回复
热议问题