DynamicDictionary
Assembly: ServiceStack.Razor.dll
View Source
Declaration
public class DynamicDictionary : DynamicObject, IDynamicMetaObjectProvider, IViewBag
Properties
Count
View Source
Declaration
public int Count { get; }
Fields
dictionary
View Source
Declaration
protected readonly Dictionary<string, object> dictionary
Methods
TryGetMember(GetMemberBinder, out Object)
View Source
Declaration
public override bool TryGetMember(GetMemberBinder binder, out object result)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Dynamic.GetMemberBinder | binder |
System.Object | result |
TryGetItem(String, out Object)
View Source
Declaration
public bool TryGetItem(string name, out object result)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | name |
System.Object | result |
TrySetMember(SetMemberBinder, Object)
View Source
Declaration
public override bool TrySetMember(SetMemberBinder binder, object value)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Dynamic.SetMemberBinder | binder |
System.Object | value |
GetDynamicMemberNames()
View Source
Declaration
public override IEnumerable<string> GetDynamicMemberNames()
Returns
System.Collections.Generic.IEnumerable<System.String>
Implements
System.Dynamic.IDynamicMetaObjectProvider
- ServiceStack.Html.IViewBag