Skip to main content

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
TypeName
System.Dynamic.GetMemberBinderbinder
System.Objectresult

TryGetItem(String, out Object)

View Source
Declaration
public bool TryGetItem(string name, out object result)
Returns

System.Boolean

Parameters
TypeName
System.Stringname
System.Objectresult

TrySetMember(SetMemberBinder, Object)

View Source
Declaration
public override bool TrySetMember(SetMemberBinder binder, object value)
Returns

System.Boolean

Parameters
TypeName
System.Dynamic.SetMemberBinderbinder
System.Objectvalue

GetDynamicMemberNames()

View Source
Declaration
public override IEnumerable<string> GetDynamicMemberNames()
Returns

System.Collections.Generic.IEnumerable<System.String>

Implements