Программная часть шаблона

This commit is contained in:
2025-03-19 23:47:17 +03:00
parent de16ee3a70
commit 23e52788a0
3 changed files with 26 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ namespace mROA.CodegenTools
public class TemplateDocument
{
public List<ITemplatePart> Parts { get; }
public object AdditionalContext { get; set; }
public ITagged this[string tag] => Parts.OfType<ITagged>().FirstOrDefault(i => i.Tag == tag);
public void Insert(string tag, object value)
{