C# 클래스 mustache.WithTagDefinition

Defines a tag that changes the scope to the object passed as an argument.
상속: ContentTagDefinition
파일 보기 프로젝트 열기: Zocdoc/mustache-sharp 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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.

메소드 상세

GetChildContext() 공개 메소드

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.
리턴 IEnumerable

GetIsContextSensitive() 보호된 메소드

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

GetParameters() 보호된 메소드

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

WithTagDefinition() 공개 메소드

Initializes a new instance of a WithTagDefinition.
public WithTagDefinition ( ) : System
리턴 System