添加模板生成代码

This commit is contained in:
陈淳
2023-01-03 18:05:57 +08:00
parent 8b55373794
commit ff2cf68b08
13 changed files with 683 additions and 452 deletions

View File

@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Template.Abstract
{
public interface ITemplateProvider
{
/// <summary>
/// 构建生成路径
/// </summary>
string BuildPath { get; set; }
/// <summary>
/// 模板文件路径
/// </summary>
string TemplatePath { get; set; }
/// <summary>
/// 备份文件路径
/// </summary>
string BakPath { get; set; }
/// <summary>
/// 开始构建
/// </summary>
/// <returns></returns>
void Build();
/// <summary>
/// 生成备份
/// </summary>
/// <returns></returns>
void Bak();
}
}