I am developing a WPF Prism application and everything is working fine. My view models have interfaces that are introduced by MEF.
However, I do not really understand the advantages of interfaces for view models. In the end, the view is tied to its presentation model, so I think there will never be other implementations.
Actually, I also have interfaces for my views. Seems like this too much?
So my question is: can I just remove all the view and view interfaces, and also directly enter the views and view the models? Is there any reason to support interfaces for viewing and viewing models?
thanks L
L-four
source share