public void ClearCache(ProjectConfig config) { string templateContent = "", templateKey = "", modelName = "", outputFileName = "", stepmsg = "", outputContent = ""; var enabledTemplates = config.GeneraterConfigs; foreach (var template in enabledTemplates) { templateKey = DbLoader.GetTemplateKey(template.Name, template.TemplateFileName); parser.Reset(templateKey); } }