using System.Xml;

namespace Kit.Helpers.Service
{
    public interface IXmlVersionUpdateItem
    {
        void Execute(XmlDocument document);

        string FileTypeKey { get; }
        int OldVersion { get; }
        int NewVersion { get; }
    }

    public abstract class XmlVersionUpdateItem : IXmlVersionUpdateItem
    {
        public abstract string FileTypeKey { get; }
        public abstract int OldVersion { get; }
        public abstract int NewVersion { get; }

        public abstract void Execute(XmlDocument document);
    }
}