Dumpify
Dumpify copied to clipboard
Adding `.Dump()` extension methods to Console Applications, similar to LinqPad's.
One of the handy things with LinqPad `.Dump()` is when you use it on a collection, you get a table with columns for each property. e.g. in LinqPad the code:...
Markdown is very popular format and support by GitHub. I propose to add the possibility of output to it.
As mentioned in the readme: You can ensure that arrays, dictionaries and collections don't output too much by allowing results to be truncated. Do this by setting the `MaxCollectionCount` property...
I'm "re-using" Dumpify as a way to do a quick'n'dirty representation of a 2D array of `char` values for a BattleShip concept. It's just a temporary usage for a concept...
Having just tested the MembersConfig options, i ended up with `myObject.Dump(null, null, null, null, null, null, membersConfig);` Would Dump benefit by a DumpifySettings class similar to XmlSettings and others used...
if you create a public class with public fields like `public class MyClass { public uint MyNumber; }` and call Dump() on it you just get an empty table with...
Dump() does print out DirectoryInfo object but the recursive nature of the references (JsonSerializer just fails on it so that's good!) makes a few references up or down the directory...
In the same way LINQPad will put it's label at the beginning of Dump output. ``` ¦ Heading ¦ ╭───────────────╮ ¦ │ "Output Data" │ ¦ ╰───────────────╯ ```
It would be very nice if this lib have an extensions method for enumerable that display a dynamic [progressbar](https://spectreconsole.net/live/progress). ```csharp var list = new List {1,2,3,4}; foreach(var i un list.WithProgess("Caption"))...
# Description @Hejle has pointed out that our current support for dumping `Newtonsoft.Json` and `System.Text.Json` objects are lacking. # Examples/reproduction:  # Suggested solution: We can either use `DumpConfig.Default.AddCustomTypeHandler(typeof(JValue), (obj,...