Переименование

This commit is contained in:
2025-03-20 16:36:32 +03:00
parent 23e52788a0
commit e93a028bc4
7 changed files with 13 additions and 13 deletions
@@ -0,0 +1,24 @@
using System;
namespace mROA.CodegenTools
{
public class ProgrammableTextSection : ITemplateSection
{
public TemplateDocument Context { get; set; }
public int TargetLength => 0;
private Func<object, string> _bakeFunc;
public ProgrammableTextSection(Func<object, string> bakeFunc, TemplateDocument context)
{
_bakeFunc = bakeFunc;
Context = context;
}
public string Bake()
{
return _bakeFunc(Context.AdditionalContext);
}
}
}