IConfigEntity.cs

26 lines | 496 B Blame History Raw Download
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tools.ConfigurationTool.Config.Base
{
    internal interface IConfigEntity<D>
    {
        D Data { set; get; }

        /// <summary>
        /// Прочитать файл
        /// </summary>
        void Import();

        /// <summary>
        /// Сохранить в файл
        /// </summary>
        void Export();

        bool FileExist();
        void DeleteFile();
    }
}