实体访问器全部采用自动注册机制
Stone authored at 2012-05-26 17:46:37
454.00 B
X
using NewLife.Serialization;
using NewLife.Xml;

namespace XCode.Accessors
{
    class XmlEntityAccessor : SerializationEntityAccessorBase
    {
        /// <summary>种类</summary>
        public override EntityAccessorTypes Kind { get { return EntityAccessorTypes.Xml; } }

        protected override IWriter GetWriter() { return new XmlWriterX(); }

        protected override IReader GetReader() { return new XmlReaderX(); }
    }
}