using System; using System.Collections.Generic; namespace mustache { /// /// Generates a static block of text. /// internal sealed class StaticGenerator : IGenerator { private readonly string _value; /// /// Initializes a new instance of a StaticGenerator. /// /// The string to return. public StaticGenerator(string value) { _value = value; } string IGenerator.GetText(IFormatProvider provider, KeyScope scope) { return _value; } } }