C# Class mustache.KeyScope

Represents a scope of keys.
Show file Open project: Zocdoc/mustache-sharp Class Usage Examples

Public Methods

Method Description
CreateChildScope ( object source ) : KeyScope

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

Private Methods

Method Description
Find ( string name ) : object

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

KeyScope ( object source ) : System

Initializes a new instance of a KeyScope.

KeyScope ( object source, KeyScope parent ) : System

Initializes a new instance of a KeyScope.

find ( string name ) : object
toLookup ( object value ) : object>.IDictionary

Method Details

CreateChildScope() public method

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