public new void SerializeX (Writer _Writer, bool _wrap, ref bool _first) {
if (_wrap) {
_Writer.WriteObjectStart ();
}
((MeshRequest)this).SerializeX(_Writer, false, ref _first);
if (Account != null) {
_Writer.WriteObjectSeparator (ref _first);
_Writer.WriteToken ("Account", 1);
_Writer.WriteString (Account);
}
if (Profile != null) {
_Writer.WriteObjectSeparator (ref _first);
_Writer.WriteToken ("Profile", 1);
// expand this to a tagged structure
//Profile.Serialize (_Writer, false);
{
_Writer.WriteObjectStart();
_Writer.WriteToken(Profile.Tag(), 1);
bool firstinner = true;
Profile.Serialize (_Writer, true, ref firstinner);
_Writer.WriteObjectEnd();
}
}
if (_wrap) {
_Writer.WriteObjectEnd ();
}
}