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,19 @@
using Core.Helpers;
namespace Core.Templates;
public class MustacheTemplateFactory : ITemplateFactory
{
public MustacheTemplateFactory()
{
}
public ITemplate GetTemplate(string templatePath, IDictionary<string, object> data)
{
var text = PathHelper.TextFrom(templatePath);
var template = new MustacheTemplate(text);
template.AddProperties(data);
return template;
}
}