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[] { }; } /// /// Gets the parameters that are used to create a new child context. /// /// The parameters that are used to create a new child context. public override IEnumerable GetChildContextParameters() { return new TagParameter[0]; } } }