C# Class mustache.ElifTagDefinition

Defines a tag that conditionally renders its content if preceding if and elif tags fail.
Inheritance: ConditionTagDefinition
Show file Open project: Zocdoc/mustache-sharp Class Usage Examples

Public Methods

Method Description
ElifTagDefinition ( ) : System

Initializes a new instance of an ElifTagDefinition.

Protected Methods

Method Description
GetClosingTags ( ) : IEnumerable

Gets the tags that indicate the end of the current tags context.

GetIsContextSensitive ( ) : bool

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

Method Details

ElifTagDefinition() public method

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

GetClosingTags() protected method

Gets the tags that indicate the end of the current tags context.
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