using System;
namespace mustache
{
///
/// Represents a context within a template.
///
public sealed class Context
{
///
/// Initializes a new instance of a Context.
///
/// The definition of tag that created the context.
/// The argument used to create the context.
internal Context(TagDefinition definition, string argument)
{
Tag = definition;
Argument = argument;
}
///
/// Gets the tag that created the context.
///
public TagDefinition Tag { get; private set; }
///
/// Gets the argument used to create the context.
///
public string Argument { get; private set; }
}
}