using System;
namespace mustache
{
///
/// Represents a context within a template.
///
public sealed class Context
{
///
/// Initializes a new instance of a Context.
///
/// The name of the tag that created the context.
/// The argument used to create the context.
internal Context(string tagName, ContextParameter[] parameters)
{
TagName = tagName;
Parameters = parameters;
}
///
/// Gets the tag that created the context.
///
public string TagName { get; private set; }
///
/// Gets the argument used to create the context.
///
public ContextParameter[] Parameters { get; private set; }
}
}