This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hey, I recently switched back to the Mindscape ObservableDictionary off a version I had rolled. However, unfortunately I did not have compleate testing as I would of liked. My version was serializeable and marked as such, as the Mindscape version is not, I'm having to add some somewhat annoying bits around any serializing I perform. Or go back to my code and resolve some open bugs on that object. Is there presently a supported serializing technique for data held in the ObservableDictionary ? I tested against the most current daily build, and it is still not marked as serializiable. Any preference on drop in solutions for serialization would be ideal, I am currently just copying each collection with CopyTo. Almost forgot, I effectivly am trying to serialize a hierarchy of arbitrary directory or dirents objects, so a deepness must be accoutned for. And the coffee cup is the closest thing I could find to a breakfast like icon... Shane |
|
|
Hi Shane, I have made ObservableDictionary as serialisable and this change will be in the next nightly build, available from the store after about 1800 GMT. I have not tested this with a deep hierarchy but this should just work provided everything in the graph is serialisable. Let me know if you turn up any problems. If you are serialising for long-term persistence (as opposed to for marshalling), please note that we do not test for compatibility of the serialisation format between different versions. We don't expect the format to change, but if you absolutely need this additional guarantee, let me know and I'll try to put some alarms in place. |
|
|
Excellient. I'll definately give it a whirl when I get the bits. I've had to plumb in properly behaving activation context / manifest deployment configuration info, this fix was needed to resolve a couple other bugs. I'm sure you have had to deal with that perticular beast yourself, pervayour of control's and such. Thanks again, Shane |
|