Import from internal git

This commit is contained in:
2025-10-11 13:08:09 +02:00
commit 97aaa715dc
175 changed files with 7014 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
using Core;
using Core.Templates;
using Generator.Daos;
using Generator.Infrastructure.Export;
namespace Generator.Repo;
public class ExportRepo
{
private readonly TemplateDao _templateDao;
private readonly Exporter _exporter;
public ExportRepo(TemplateDao templateDao)
{
_templateDao = templateDao;
_exporter = new Exporter(new MustacheTemplateFactory());
}
public void PlantUml(ISpecFile file)
{
var export = _templateDao.PlantUml(file);
_exporter.PlantUml(export, file);
}
}