using System;
using System.Collections.Generic;
namespace mustache
{
///
/// Defines a pseudo tag that wraps the entire content of a format string.
///
internal sealed class MasterTagDefinition : ContentTagDefinition
{
///
/// Initializes a new instance of a MasterTagDefinition.
///
public MasterTagDefinition()
: base(String.Empty, true)
{
}
///
/// Gets whether the tag only exists within the scope of its parent.
///
protected override bool GetIsContextSensitive()
{
return true;
}
///
/// Gets the name of the tags that indicate that the tag's context is closed.
///
/// The tag names.
protected override IEnumerable GetClosingTags()
{
return new string[] { };
}
}
}