2013-01-09 02:33:53 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace mustache
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Applies the values of an object to the format plan, generating a string.
|
|
|
|
|
/// </summary>
|
|
|
|
|
internal interface IGenerator
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2013-01-10 02:17:45 +00:00
|
|
|
|
/// Generates the text when applying the format plan.
|
2013-01-09 02:33:53 +00:00
|
|
|
|
/// </summary>
|
2013-01-10 02:17:45 +00:00
|
|
|
|
/// <param name="provider">The format provider to use when formatting the keys.</param>
|
|
|
|
|
/// <param name="scope">The current lexical scope of the keys.</param>
|
2013-01-09 02:33:53 +00:00
|
|
|
|
/// <returns>The generated text.</returns>
|
2013-01-10 02:17:45 +00:00
|
|
|
|
string GetText(IFormatProvider provider, KeyScope scope);
|
2013-01-09 02:33:53 +00:00
|
|
|
|
}
|
|
|
|
|
}
|