C# Class mustache.ElseTagDefinition

Defines a tag that renders its content if all preceding if and elif tags.
Inheritance: ContentTagDefinition
显示文件 Open project: Zocdoc/mustache-sharp Class Usage Examples

Public Methods

Method Description
ElseTagDefinition ( ) : System

Initializes a new instance of a ElseTagDefinition.

Protected Methods

Method Description
GetClosingTags ( ) : IEnumerable

Gets the tags that indicate the end of the current tag's content.

GetIsContextSensitive ( ) : bool

Gets whether the tag only exists within the scope of its parent.

Method Details

ElseTagDefinition() public method

Initializes a new instance of a ElseTagDefinition.
public ElseTagDefinition ( ) : System
return System

GetClosingTags() protected method

Gets the tags that indicate the end of the current tag's content.
protected GetClosingTags ( ) : IEnumerable
return IEnumerable

GetIsContextSensitive() protected method

Gets whether the tag only exists within the scope of its parent.
protected GetIsContextSensitive ( ) : bool
return bool