private void WritePhone(string elementName, GpxPhone phone) { Writer_.WriteStartElement(elementName, GpxNamespaces.GARMIN_WAYPOINT_EXTENSIONS_NAMESPACE); if (phone.Category != null) { Writer_.WriteAttributeString("Category", phone.Category); } Writer_.WriteString(phone.Number); Writer_.WriteEndElement(); }
private void WritePhone(string elementName, GpxPhone phone) { Writer_.WriteStartElement(elementName, GARMIN_EXTENSIONS_NAMESPACE); if (!string.IsNullOrEmpty(phone.Category)) Writer_.WriteAttributeString("Category", phone.Category); Writer_.WriteString(phone.Number); Writer_.WriteEndElement(); }
private void WritePhone(string elementName, GpxPhone phone) { Writer_.WriteStartElement(elementName, GpxNamespaces.GARMIN_WAYPOINT_EXTENSIONS_NAMESPACE); if (phone.Category != null) Writer_.WriteAttributeString("Category", phone.Category); Writer_.WriteString(phone.Number); Writer_.WriteEndElement(); }