C# Class Senparc.Weixin.Helpers.IDictionaryExtensions

IDictionary扩展方法 代码引用自:https://bitbucket.org/patridge/expandoobject-json-serialization-tests/src/eab6ef0b18434278a5c2c1424145c47d1def2838/ExpandoJsonMvcStub/Helpers/IDictionaryExtensions.cs?at=default &fileviewer=file-view-default 更多解决方案:http://www.patridgedev.com/2011/08/24/getting-dynamic-expandoobject-to-serialize-to-json-as-expected/
Show file Open project: Chinaccn/surfboard

Public Methods

Method Description
ToExpando ( object>.this dictionary ) : System.Dynamic.ExpandoObject

Extension method that turns a dictionary of string and object to an ExpandoObject Snagged from http://theburningmonk.com/2011/05/idictionarystring-object-to-expandoobject-extension-method/

Method Details

ToExpando() public static method

Extension method that turns a dictionary of string and object to an ExpandoObject Snagged from http://theburningmonk.com/2011/05/idictionarystring-object-to-expandoobject-extension-method/
public static ToExpando ( object>.this dictionary ) : System.Dynamic.ExpandoObject
dictionary object>.this
return System.Dynamic.ExpandoObject