Dump IQueryable as class object

Is there a way to have Dump output collections as the class object and not the value? Using ToExpando doesn't work on e.g. IQueryable because it doesn't include any properties. Returning the IQueryable in ToDump just outputs the value again.


  • On a (not entirely unrelated) note, when Dump outputs objects as their class, it still calls ToString and displays that at the top (which ToExpando unfortunately removes - is there a way to use ToExpando and get the ToString?). Is there a way to customize the ToString from inside ToDump or in some other way?
Sign In or Register to comment.