public void Update(logentry element) { if (element.m_revision.HasValue == true) { this.revision = element.revision; } }
public static logentry Parse(System.Xml.Linq.XElement xml, CRocrailClient rocrailClient) { logentry _logentry = new logentry(); _logentry.m_rocrailClient = rocrailClient; _logentry.m_revision = (int?)xml.Attribute("revision"); return(_logentry); }