ObjectDumper re-loaded(jachman.wordpress.com)

submitted by JachmanJachman(530) 4 years, 7 months ago

Sometimes in history a star flashes for a short moment to shade for the next. The same happened to the class ObjectDumper which is quite a handy class for writing NUnit Test cases - published one time in a microsoft sample - and after that never found again. The performance of that class used with NUnit was terrible, because the ObjectDumper wrote directly to the Console Out Stream. That forced NUnit to refresh the UI again and again. I improved the ObjectDumper, so that it takes a StringBuilder and write the complete output to the Console in one step. That’s faster. You can output the content of every object using the following syntax: ObjectDumper.Write (object you want to output);

add a comment |category: |Views: 169

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story