C# Class mustache.ContentTagDefinition

Defines a tag that can contain inner text.
Inheritance: TagDefinition
Show file Open project: Zocdoc/mustache-sharp

Protected Methods

Method Description
ContentTagDefinition ( string tagName ) : System

Initializes a new instance of a ContentTagDefinition.

GetHasContent ( ) : bool

Gets or sets whether the tag can have content.

Private Methods

Method Description
ContentTagDefinition ( string tagName, bool isBuiltin ) : System

Initializes a new instance of a ContentTagDefinition.

Method Details

ContentTagDefinition() protected method

Initializes a new instance of a ContentTagDefinition.
protected ContentTagDefinition ( string tagName ) : System
tagName string The name of the tag being defined.
return System

GetHasContent() protected method

Gets or sets whether the tag can have content.
protected GetHasContent ( ) : bool
return bool