using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GenerateCode_GEBrilliantFactory { /// /// VUE方法配置 /// public class VUE_FunConfig_Generate : BaseGenerate { /// /// VUE方法配置 /// /// 模块简写 /// 中文注释 /// WCF路由前缀 /// public static string CreateText(string Modulelogo, string ChinaComment, string routePrefix,string entityName) { var str = TextHelper.ReadText(@"Templete\VUE\VUE方法配置.txt"); CommonReplace(ref str); str = str.Replace("$ChinaComment$", ChinaComment);//中文注释 str = str.Replace("$Modulelogo$", Modulelogo);//模块简写 str = str.Replace("$RoutePrefix$", routePrefix);//模块简写 str = str.Replace("$EntityName$", entityName);//模块简写 return str; } } }