view 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 source

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; }
    }
}