C# Class Crowbar.Mustache.MustacheModel

A dynamic mustache model.
Inheritance: System.Dynamic.DynamicObject
Datei anzeigen Open project: mrydengren/crowbar Class Usage Examples

Public Methods

Method Description
GetDynamicMemberNames ( ) : IEnumerable
MustacheModel ( object data = null ) : System.Collections.Generic

Creates a new instance of MustacheModel.

TryGetMember ( GetMemberBinder binder, object &result ) : bool
TrySetMember ( SetMemberBinder binder, object value ) : bool

Method Details

GetDynamicMemberNames() public method

public GetDynamicMemberNames ( ) : IEnumerable
return IEnumerable

MustacheModel() public method

Creates a new instance of MustacheModel.
public MustacheModel ( object data = null ) : System.Collections.Generic
data object Initial data, if any, that should be added to the model.
return System.Collections.Generic

TryGetMember() public method

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
return bool

TrySetMember() public method

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder
value object
return bool