Переименование
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System.Linq;
|
||||
|
||||
namespace mROA.CodegenTools
|
||||
{
|
||||
public class LinkTemplateSection : ITemplateSection
|
||||
{
|
||||
private readonly string _linkedTag;
|
||||
|
||||
public LinkTemplateSection(string linkedTag, TemplateDocument context)
|
||||
{
|
||||
_linkedTag = linkedTag;
|
||||
Context = context;
|
||||
}
|
||||
|
||||
public TemplateDocument Context { get; set; }
|
||||
|
||||
public string LinkedTag => _linkedTag;
|
||||
|
||||
public int TargetLength { get; }
|
||||
|
||||
public string Bake()
|
||||
{
|
||||
return Context[_linkedTag]?.Bake();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user