C# Class mustache.IfTagDefinition

Defines a tag that renders its content depending on the truthyness of its argument, with optional elif and else nested tags.
Inheritance: ConditionTagDefinition
Exibir arquivo Open project: Zocdoc/mustache-sharp Class Usage Examples

Public Methods

Method Description
IfTagDefinition ( ) : System

Initializes a new instance of a IfTagDefinition.

Protected Methods

Method Description
GetIsContextSensitive ( ) : bool

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

Method Details

GetIsContextSensitive() protected method

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

IfTagDefinition() public method

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