Успешно переписаны не полностью два файла

This commit is contained in:
micialware committed 2025-03-25 21:27:54 +03:00
1 parent 155d942a03
commit bf636c0f9c
23 files changed
+676 -98

No files matched your search

@@ -0,0 +1,24 @@
using System.Linq;
namespace mROA.CodegenTools
{
public class InsertSectionReader : LeadingTextSectionReader
{
public InsertSectionReader() : base("<!I")
{
}
public override ITemplateSection ExtractSection(ref int index, TemplateDocument document)
{
var from = index;
index = PassCaretToCloseSymbol();
var to = index - 1;
var tagText = GetTagValue(from, to);
var parts = tagText.Split(' ');
return new InsertTemplatePart(parts[0], document, parts.Skip(1).ToArray());
}
}
}