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
Afficher le fichier Open project: Zocdoc/mustache-sharp Class Usage Examples

Méthodes publiques

Méthode Description
IfTagDefinition ( ) : System

Initializes a new instance of a IfTagDefinition.

Méthodes protégées

Méthode Description
GetIsContextSensitive ( ) : bool

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

Method Details

GetIsContextSensitive() protected méthode

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

IfTagDefinition() public méthode

Initializes a new instance of a IfTagDefinition.
public IfTagDefinition ( ) : System
Résultat System