[]
Creates a bindable collection of strongly typed objects from a Dictionary<TKey, TValue> instance.
public static object CreateFromDictionary(Dictionary<string, object> dict, string className = null)
Type | Name | Description |
---|---|---|
Dictionary<string, object> | dict | A dictionary of string/object pairs. |
string | className | The name of the class to be generated for collection items. If null, "DynamicObject" is used. |
Type | Description |
---|---|
object | A collection of strongly typed objects. |