[This is preliminary documentation and is subject to change.]
- callTreeData (CallTreeData)
- A helper object containing a delegate to call for contained nodes in the tree, a delegate to call for associated members, a root first indicator, and a set of parameters to pass to called delegates.
- slot (Int32)
- The member slot within its parent of the node for which the delegate is being called.
This scheme is initiated by the Persistent.CallTree method and calls a delegate for every node in a persistent tree. The scheme is implemented by the Persistent class, this class and the generated CallTree method of all Model classes. The Model classes call this method for each contained collection. This method calls a delegate for this collection. If this returns false, then the tree descent goes no further here. Otherwise CallTree is called for each element of the collection.
This method is not thread safe. If there a risk of contention during a tree descent which uses this method, you must arrange for synchronisation yourself. The SyncRoot property gets the object used to synchronise other methods of this class.