public static decoder Parse(System.Xml.Linq.XElement xml, CRocrailClient rocrailClient) { decoder _decoder = new decoder(); _decoder.m_rocrailClient = rocrailClient; Definitions.Tools.ParseList <family>(_decoder.m_familylist, xml, "family", family.Parse, rocrailClient); Definitions.Tools.ParseList <variables>(_decoder.m_variableslist, xml, "variables", variables.Parse, rocrailClient); return(_decoder); }
public void Update(decoder element) { this.familylist = element.familylist; this.variableslist = element.variableslist; }