public static description Parse(System.Xml.Linq.XElement xml, CRocrailClient rocrailClient) { description _description = new description(); _description.m_rocrailClient = rocrailClient; _description.m_lang = (string)xml.Attribute("lang"); _description.m_text = (string)xml.Attribute("text"); _description.m_url = (string)xml.Attribute("url"); return(_description); }
public void Update(description element) { if (element.m_lang != null) { this.lang = element.lang; } if (element.m_text != null) { this.text = element.text; } if (element.m_url != null) { this.url = element.url; } }