private void ExecuteTemplateMaps(TableInfo tableInfo, Context configContext, IEnumerable <Info> infos) { var pathOutput = PathOutput.PathOutputMapsPartial(tableInfo, configContext); if (File.Exists(pathOutput)) { return; } var pathTemplateClass = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, this._defineTemplateFolder.Define(tableInfo), "maps.partial"); var textTemplateClass = Read.AllText(tableInfo, pathTemplateClass, this._defineTemplateFolder); var classBuilder = GenericTagsTransformer(tableInfo, configContext, textTemplateClass); using (var stream = new StreamWriter(pathOutput)) { stream.Write(classBuilder); } }