Group multiple dump outputs

edited March 2018
I really like the facility to mark dumped output with a description. It would be handy to be able to group multiple outputs by a single description. For example:

. My Grouping
. Dump 1
. ||table|| Dump 2
. etc

This would be similar to a TransactionScope or any normal disposable pattern.
using(var token = Util.StartGroup("Starting test case...")) {
    "Test Case".Dump(token);

DoSomethingElse(){ "Testing".Dump(); }

: Starting test case...
. Test Case
. Testing



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!