Codegen in modidier support
This commit is contained in:
1 parent
b4280cd06d
commit
84f9840024
17 files changed
+316
-75
No files matched your search
@@ -7,7 +7,7 @@ namespace mROA.Codegen
|
||||
{
|
||||
public static TemplateDocument CloneInnerTemplate(this TemplateDocument template, string tag)
|
||||
{
|
||||
var innerTemplate = template[tag] as InnerTemplateSection
|
||||
var innerTemplate = template[tag] as InnerTemplateSection
|
||||
?? throw new InvalidOperationException();
|
||||
var clone = innerTemplate.InnerTemplate.Clone();
|
||||
return (TemplateDocument)clone;
|
||||
|
||||
Reference in new issue
Block a user