17 lines
341 B
17 lines
341 B
4 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Text;
|
||
|
|
||
|
namespace ReZero.TextTemplate
|
||
|
{
|
||
|
|
||
|
public interface ITemplateEngine: IRender
|
||
|
{
|
||
|
void AddDirective(string name, IDirective directive);
|
||
|
}
|
||
|
public interface IRender
|
||
|
{
|
||
|
void Render(string template, object data, StringBuilder output);
|
||
|
}
|
||
|
}
|