Частично переписан RemoteTypeBinder

This commit is contained in:
2025-03-25 21:40:12 +03:00
parent bf636c0f9c
commit a48c77e48f
5 changed files with 39 additions and 33 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ namespace mROA.CodegenTools
{
public List<ITemplateSection> Parts { get; set; } = new List<ITemplateSection>();
public object AdditionalContext { get; set; }
public ITagged this[string tag] => Parts.OfType<ITagged>().FirstOrDefault(i => i.Tag == tag);
public ITagged? this[string tag] => Parts.OfType<ITagged>().FirstOrDefault(i => i.Tag == tag);
public void Insert(string tag, object value)
{