MustacheSharp/MustacheSharp/StringArgument.cs

23 lines
409 B
C#
Raw Permalink Normal View History

2018-07-15 22:57:30 +00:00
namespace Mustache
2014-05-21 21:02:31 +00:00
{
public class StringArgument : IArgument
{
private readonly string value;
public StringArgument(string value)
{
this.value = value;
}
public string GetKey()
{
return null;
}
public object GetValue(Scope keyScope, Scope contextScope)
{
return value;
}
}
}