Ejemplo n.º 1
0
		protected virtual void Write(string localName, HCObject obj)
		{
			m_xmlWriter.WriteStartElement(localName);
			m_xmlWriter.WriteAttributeString("id", obj.ID);
			m_xmlWriter.WriteElementString("Description", obj.Description);
			m_xmlWriter.WriteEndElement();
		}
Ejemplo n.º 2
0
		protected virtual XElement Write(string name, HCObject obj)
		{
			return new XElement(name, new XAttribute("id", obj.ID), new XElement("Description", obj.Description));
		}