C# 클래스 Mustache.Scope

Represents a scope of keys.
파일 보기 프로젝트 열기: ExactTargetDev/mustache-sharp 1 사용 예제들

공개 메소드들

메소드 설명
CreateChildScope ( ) : Scope

Creates a child scope that searches for keys in a default dictionary of key/value pairs.

CreateChildScope ( object source ) : Scope

Creates a child scope that searches for keys in the given object.

TryFind ( string name, object &value ) : bool

비공개 메소드들

메소드 설명
Find ( string name ) : object

Attempts to find the value associated with the key with given name.

Scope ( object source ) : System

Initializes a new instance of a KeyScope.

Scope ( object source, Scope parent ) : System

Initializes a new instance of a KeyScope.

Set ( string key ) : void
Set ( string key, object value ) : void
onKeyFound ( string name, object value ) : object
onKeyNotFound ( string name, string member, object &value ) : bool
set ( SearchResults results, object value ) : void
toLookup ( object value ) : object>.IDictionary
tryFind ( string name ) : SearchResults
tryFindFirst ( SearchResults results ) : void

메소드 상세

CreateChildScope() 공개 메소드

Creates a child scope that searches for keys in a default dictionary of key/value pairs.
public CreateChildScope ( ) : Scope
리턴 Scope

CreateChildScope() 공개 메소드

Creates a child scope that searches for keys in the given object.
public CreateChildScope ( object source ) : Scope
source object The object to search for keys in.
리턴 Scope

TryFind() 공개 메소드

public TryFind ( string name, object &value ) : bool
name string
value object
리턴 bool