mardi 9 mai 2017

How XmlDeserializer creating objects...?

I suspect that XmlDesiarlizer use some recurrence to create objects in runtime of any class, let's say we've got two classess

class employer
{
public int Id {get;set;}
public Position Pos {get;set;}
}

class Position
{
...some properties
}

so deserializer has to went through both this classess if we had ordered him deserialize some xml... only as employer

so... is there any source how it do it ;)? i just want to knot this recurency method which is used by deserializer





Aucun commentaire:

Enregistrer un commentaire