C# 클래스 Mustache.ArgumentCollection

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

공개 메소드들

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

GetArgumentKeyNames ( ) : object>.Dictionary
GetArguments ( Scope keyScope, Scope contextScope ) : object>.Dictionary

Substitutes the key placeholders with their respective values.

GetKey ( Mustache.TagParameter parameter ) : string

Gets the key that will be used to find the substitute value.

메소드 상세

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 ( Mustache.TagParameter parameter, string key ) : void
parameter Mustache.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

GetArgumentKeyNames() 공개 메소드

public GetArgumentKeyNames ( ) : object>.Dictionary
리턴 object>.Dictionary

GetArguments() 공개 메소드

Substitutes the key placeholders with their respective values.
public GetArguments ( Scope keyScope, Scope contextScope ) : object>.Dictionary
keyScope Scope The key/value pairs in the current lexical scope.
contextScope Scope The key/value pairs in current context.
리턴 object>.Dictionary

GetKey() 공개 메소드

Gets the key that will be used to find the substitute value.
public GetKey ( Mustache.TagParameter parameter ) : string
parameter Mustache.TagParameter
리턴 string