Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
/ ObjectDumper Public archive

Dumps object state to console or as a browsable HTML tree

Notifications You must be signed in to change notification settings

okb/ObjectDumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Status

This project is currently under construction. But it's semi working!

Usage

It works as a set of extensionmethods but will also get support of static methods (dynamic does not allow extensionmethods).

.Dump() // To console by default
.Dump(<depth>)
.Dump(<depth>, <TextWriter>)

.DumpAsHtml() // Returns HTML string as default
.DumpAsHtml(<depth>)
.DumpAsHtml(<depth>, <TextWriter>)

Example in a razor view:

@ViewData.ModelMetadata.DumpAsHtml(4)

About

Dumps object state to console or as a browsable HTML tree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published