C# Class mustache.WithTagDefinition

Defines a tag that changes the scope to the object passed as an argument.
Inheritance: ContentTagDefinition
Afficher le fichier Open project: Zocdoc/mustache-sharp Class Usage Examples

Méthodes publiques

Méthode Description
GetChildContext ( TextWriter writer, KeyScope scope, object>.Dictionary arguments ) : IEnumerable

Gets the context to use when building the inner text of the tag.

WithTagDefinition ( ) : System

Initializes a new instance of a WithTagDefinition.

Méthodes protégées

Méthode Description
GetIsContextSensitive ( ) : bool

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

GetParameters ( ) : IEnumerable

Gets the parameters that can be passed to the tag.

Method Details

GetChildContext() public méthode

Gets the context to use when building the inner text of the tag.
public GetChildContext ( TextWriter writer, KeyScope scope, object>.Dictionary arguments ) : IEnumerable
writer System.IO.TextWriter The text writer passed
scope KeyScope The current scope.
arguments object>.Dictionary The arguments passed to the tag.
Résultat IEnumerable

GetIsContextSensitive() protected méthode

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

GetParameters() protected méthode

Gets the parameters that can be passed to the tag.
protected GetParameters ( ) : IEnumerable
Résultat IEnumerable

WithTagDefinition() public méthode

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