Is the MobileFormatter able to support object graphs with circular references? #2387
-
Instances of the class below throw a
The Can you point me in the right direction? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Right. The Look at Csla.Core.MobileList - a type that only has children state, and no state of its own. |
Beta Was this translation helpful? Give feedback.
Right. The
OnGetState
andOnSetState
methods are for instance values only, not references to other objects in the graph. For references you must implement the get/set children methods.Look at Csla.Core.MobileList - a type that only has children state, and no state of its own.