Codegen in modidier support

This commit is contained in:
2026-01-29 23:15:39 +03:00
parent b4280cd06d
commit 84f9840024
17 changed files with 316 additions and 75 deletions
@@ -5,11 +5,13 @@ namespace mROA.Codegen.Templates
public partial class ObjectBinderTemplate : TemplateView
{
private const string EventBinderTemplateTag = "eventBinderTemplate";
private const string TypeTag = "type";
private const string EventBinderTag = "eventBinder";
public ObjectBinderTemplate(TemplateDocument template) : base(template) { }
public ObjectBinderTemplate(TemplateDocument template) : base(template)
{
}
public void DefineType(string value)
{
@@ -20,7 +22,7 @@ namespace mROA.Codegen.Templates
{
Insert(EventBinderTag, value);
}
public EventBinderTemplate CloneInnerEventBinder()
{
var template = CloneInner(EventBinderTemplateTag);