using System; namespace Mustache { /// /// Defines a tag that renders its content depending on the truthyness /// of its argument, with optional elif and else nested tags. /// internal sealed class IfTagDefinition : ConditionTagDefinition { /// /// Initializes a new instance of a IfTagDefinition. /// public IfTagDefinition() : base("if") { } /// /// Gets whether the tag only exists within the scope of its parent. /// protected override bool GetIsContextSensitive() { return false; } } }