using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace VIZ.Package.Storage
{
    /// <summary>
    /// XML序列化
    /// </summary>
    public interface IXmlSerialize
    {
        /// <summary>
        /// 从XElement节点获取数据
        /// </summary>
        /// <param name="element">XElement节点</param>
        void FromXmlElement(XElement element);

        /// <summary>
        /// 转化为XElement节点
        /// </summary>
        XElement ToXmlElement();
    }
}
