Mercurial > pub > ImplabNet
comparison 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 |
comparison
equal
deleted
inserted
replaced
226:9428ea36838e | 227:8d5de4eb9c2c |
---|---|
1 using System; | |
2 using System.Collections.Generic; | |
3 using System.Linq; | |
4 using System.Text; | |
5 using System.Threading.Tasks; | |
6 using System.Xml; | |
7 | |
8 namespace Implab.Xml { | |
9 public class XmlSimpleAttribute { | |
10 public XmlSimpleAttribute(string name, string ns, string prefix, object value) { | |
11 QName = new XmlQualifiedName(name, ns); | |
12 Prefix = prefix; | |
13 Value = value; | |
14 } | |
15 | |
16 public XmlQualifiedName QName { get; set; } | |
17 | |
18 public string Prefix { get; set; } | |
19 | |
20 public object Value { get; set; } | |
21 } | |
22 } |