This project has moved and is read-only. For the latest updates, please go here.

System.Collections.Generic.IDictionary Extension Methods

ToExpando()

Summary: Converts the IDictionary instance into and ExpandoObject.
C# Example:
IDictionary<string, object> dict = new Dictionary<string, object> {
   { "Key", "Value" },
   { "Key2", 2 }
};
var dynObj = dict.ToExpando();

Last edited Mar 16, 2013 at 1:17 PM by crpietschmann, version 1

Comments

No comments yet.