Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Fixed the commit about NameValueCollection #29

wants to merge 1 commit into from

1 participant


Hi Rob:

Sorry again about the stupid mistake. The over confident me just edited the file in github instead of commit my own file.
This is the one I have in production right now, missing opening braked.

Sorry again for the wasted time.

Regards, Hernan.

@hgarcia hgarcia closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 31, 2011
  1. @hgarcia
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  Massive.cs
2  Massive.cs
@@ -66,7 +66,7 @@ public static class ObjectExtensions {
var result = new ExpandoObject();
var d = result as IDictionary<string, object>; //work with the Expando as a Dictionary
if (o.GetType() == typeof(ExpandoObject)) return o; //shouldn't have to... but just in case
- if (o.GetType() == typeof(NameValueCollection) || o.GetType().IsSubclassOf(typeof(NameValueCollection)))
+ if (o.GetType() == typeof(NameValueCollection) || o.GetType().IsSubclassOf(typeof(NameValueCollection))){
var nv = (NameValueCollection)o;
nv.Cast<string>().Select(key => new KeyValuePair<string, object>(key, nv[key])).ToList().ForEach(i => d.Add(i));
} else {
Something went wrong with that request. Please try again.