25 lines
424 B
C#
25 lines
424 B
C#
using System;
|
|
|
|
namespace Mustache
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|