MVVM Implementation in Prism v4?

Topics: Prism v4 - Silverlight 4, Prism v4 - WPF 4
Jan 7, 2011 at 8:01 AM

Hi there,


Been reading the documentation for the MVVM feature in Prism v4. It appears you have to create the ViewModelBase base class by hand.


Of course this isn't a problem but i was wondering if i am missing something, are there templates available that i am unaware of that automatically create the viewmodelbase classes etc?


Or is it a case of create a viewmodelbase class once by hand and then reusing it in my projects?


Thanks in advance

Jan 7, 2011 at 1:13 PM

In Microsoft.Practices.Prism.ViewModel you will find the NotificationObject that is the viewmodelbase.  Of course its a just a basic implementation you can always modify to suit your needs.