Mercurial > pub > ImplabNet
diff Implab/Xml/XmlSimpleAttribute.cs @ 227:8d5de4eb9c2c v2
Reimplemented JsonXmlReader, added support for null values: JSON null values are
mapped to empty nodes with 'xsi:nil' attribute set to 'true'
author | cin |
---|---|
date | Sat, 09 Sep 2017 03:53:13 +0300 |
parents | |
children | 302ca905c19e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Implab/Xml/XmlSimpleAttribute.cs Sat Sep 09 03:53:13 2017 +0300 @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Xml; + +namespace Implab.Xml { + public class XmlSimpleAttribute { + public XmlSimpleAttribute(string name, string ns, string prefix, object value) { + QName = new XmlQualifiedName(name, ns); + Prefix = prefix; + Value = value; + } + + public XmlQualifiedName QName { get; set; } + + public string Prefix { get; set; } + + public object Value { get; set; } + } +}