Parameters
- parent
- the result of an earlier call to Allocate that was passed to a call to ConsumeBody
- child
- the result of the call to ConsumeObject; may be null
Typically you would override this method to add the child to the parent in the appropriate manner, or perhaps to set a property of the parent to refer to the child object. Note that this method will not get called by ConsumeBody unless BodyConsumesChildElements is true or unless some transformer's implementation of ConsumeBody does so.
This is called by the standard implementation of ConsumeBody. By default this calls ConsumeChild on the InheritsFromTransformer, to allow another specific transformer to implement this behavior, or else calls GoXmlWriter.GoXmlReader.InvokeConsumeChild, to allow this TransformerType's base Type
to provide a default behavior.