namespace Mustache { /// /// Defines a tag that can contain inner text. /// public abstract class ContentTagDefinition : TagDefinition { /// /// Initializes a new instance of a ContentTagDefinition. /// /// The name of the tag being defined. protected ContentTagDefinition(string tagName) : base(tagName) { } /// /// Initializes a new instance of a ContentTagDefinition. /// /// The name of the tag being defined. /// Specifies whether the tag is a built-in tag. internal ContentTagDefinition(string tagName, bool isBuiltin) : base(tagName, isBuiltin) { } /// /// Gets or sets whether the tag can have content. /// /// True if the tag can have a body; otherwise, false. protected override bool GetHasContent() { return true; } } }