using System; using System.Collections.Generic; namespace mustache { /// /// Defines a tag that conditionally renders its content if preceding if and elif tags fail. /// internal sealed class ElifTagDefinition : ConditionTagDefinition { /// /// Initializes a new instance of an ElifTagDefinition. /// public ElifTagDefinition() : base("elif") { } /// /// Gets the tags that indicate the end of the current tags context. /// public override IEnumerable ClosingTags { get { return new TagDefinition[] { new IfTagDefinition() }; } } } }