ICrystalXmlSerializable

Namespace: SnowBank.Data.Xml · interface

Instance hook letting a type write its own XML representation

Remarks

Named with the Crystal prefix, rather than IXmlSerializable, to avoid any collision with : that BCL interface is built around XmlReader/ XmlWriter and an XmlSchema callback, an entirely different shape from the events this type is written against.

Methods

WriteXml

void WriteXml<TEmitter>(ref TEmitter emitter)

Writes this instance to emitter

The depth counter of the generated cycle guard resets to zero across this call: see .