C# 클래스 mustache.ConditionTagDefinition

Defines a tag that conditionally prints its content.
상속: ContentTagDefinition
파일 보기 프로젝트 열기: Zocdoc/mustache-sharp

공개 메소드들

메소드 설명
ShouldCreateSecondaryGroup ( TagDefinition definition ) : bool

Gets whether the given tag's generator should be used for a secondary (or substitute) text block.

ShouldGeneratePrimaryGroup ( object>.Dictionary arguments ) : bool

Gets whether the primary generator group should be used to render the tag.

보호된 메소드들

메소드 설명
ConditionTagDefinition ( string tagName ) : System

Initializes a new instance of a ConditionTagDefinition.

GetChildTags ( ) : IEnumerable

Gets the tags that come into scope within the context of the current tag.

GetParameters ( ) : IEnumerable

Gets the parameters that can be passed to the tag.

비공개 메소드들

메소드 설명
isConditionSatisfied ( object condition ) : bool

메소드 상세

ConditionTagDefinition() 보호된 메소드

Initializes a new instance of a ConditionTagDefinition.
protected ConditionTagDefinition ( string tagName ) : System
tagName string The name of the tag.
리턴 System

GetChildTags() 보호된 메소드

Gets the tags that come into scope within the context of the current tag.
protected GetChildTags ( ) : IEnumerable
리턴 IEnumerable

GetParameters() 보호된 메소드

Gets the parameters that can be passed to the tag.
protected GetParameters ( ) : IEnumerable
리턴 IEnumerable

ShouldCreateSecondaryGroup() 공개 메소드

Gets whether the given tag's generator should be used for a secondary (or substitute) text block.
public ShouldCreateSecondaryGroup ( TagDefinition definition ) : bool
definition TagDefinition The tag to inspect.
리턴 bool

ShouldGeneratePrimaryGroup() 공개 메소드

Gets whether the primary generator group should be used to render the tag.
public ShouldGeneratePrimaryGroup ( object>.Dictionary arguments ) : bool
arguments object>.Dictionary The arguments passed to the tag.
리턴 bool