C# 클래스 mustache.ArgumentCollection

Associates parameters to their argument values.
파일 보기 프로젝트 열기: Zocdoc/mustache-sharp 1 사용 예제들

공개 메소드들

메소드 설명
AddArgument ( TagParameter parameter, string key ) : void

Associates the given parameter to the key placeholder.

If the key is null, the default value of the parameter will be used.

ArgumentCollection ( ) : System

Initializes a new instance of an ArgumentCollection.

GetArguments ( KeyScope scope ) : object>.Dictionary

Substitutes the key placeholders with their respective values.

메소드 상세

AddArgument() 공개 메소드

Associates the given parameter to the key placeholder.
If the key is null, the default value of the parameter will be used.
public AddArgument ( TagParameter parameter, string key ) : void
parameter TagParameter The parameter to associate the key with.
key string The key placeholder used as the argument.
리턴 void

ArgumentCollection() 공개 메소드

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

GetArguments() 공개 메소드

Substitutes the key placeholders with their respective values.
public GetArguments ( KeyScope scope ) : object>.Dictionary
scope KeyScope The current lexical scope.
리턴 object>.Dictionary