mirror of
https://github.com/art-ist/mustache-sharp.git
synced 2024-06-16 21:05:32 +00:00

This is the code almost verbatim from the NList project. This project is due for a major overhaul, but I don't know the order I will be breaking out NList in the upcoming weeks.
24 lines
422 B
C#
24 lines
422 B
C#
using System;
|
|
using System.Text;
|
|
|
|
namespace mustache
|
|
{
|
|
internal sealed class StaticBuilder : IBuilder
|
|
{
|
|
public StaticBuilder()
|
|
{
|
|
}
|
|
|
|
public string Value
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public void Build(Scope scope, StringBuilder output, IFormatProvider provider)
|
|
{
|
|
output.Append(Value);
|
|
}
|
|
}
|
|
}
|