view Implab/Xml/XmlSimpleAttribute.cs @ 229:5f7a3e1d32b9 v2

JsonXmlReader performance tuning JsonScanner now operates strings and doesn't parses number and literals. Added SerializationHelpers to common serialize/deserialize operations
author cin
date Tue, 12 Sep 2017 19:07:42 +0300
parents 8d5de4eb9c2c
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; }
    }
}