Is it possible to get an MVVM ViewModel to be serialised for use by the SuspensionManager?

When deriving a ViewModel from Galasoft MVVMLight's ViewModelBase or Prism's BindableBase the SuspensionManager will fail because the both ViewModelBase and BindableBase are not serialisable.
Is there away around this so that the contract serialiser will work or are the only options to either ditch the base class or rework the SuspensionManager to use JSON deserialization instead?
Are there any good code samples kicking around that reworks the SuspensionManager?
Navigator101Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ambienceConnect With a Mentor Commented:
It should be possible to implement ISerializable on the most derived class and write serialization code there. This is how you get around the limitations of base classes not being serializable.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.