public void WriteXml(System.Xml.XmlWriter writer) { writer.WriteStartElement("action"); writer.WriteElementString("name", this.Name); writer.WriteCollection(this.Arguments, "argumentList", true); writer.WriteEndElement(); }