Базовые классы для codegen-tools
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace mROA.CodegenTools
|
||||
{
|
||||
public class LiteralTemplatePart : ITemplatePart
|
||||
{
|
||||
private string _internalText;
|
||||
public TemplateDocument Context { get; set; }
|
||||
public string Bake()
|
||||
{
|
||||
return _internalText;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return _internalText;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user