Release with examples

Rating: No reviews yet
Downloads: 22
Change Set: f13fe191d7cf
Released: Apr 14, 2014
Updated: Jun 4, 2014 by Didjeeh
Dev status: Stable Help Icon

Downloads

Application RandomUtilsf13fe191d7cf.7z
application, 4834K, uploaded Jun 4, 2014 - 22 downloads

Release Notes

June 4th 2014: Logging null values for parameters did not work. Added flush functionality which you can call on application exit to ensure that all log entries are written.

April 14th 2014: There was a bug in the logger that has been fixed --> logging did not work anymore due to an invalid number of arguments for the log callback fx call.
Added a FileLoggerPannel + winforms example.
  • BackgroundWorkQueue: You can enqueue delegates here to be processed by a background thread. Handy for work that needs to be done in order without blocking the main thread.
  • Log: This is my take on an application logger for any 64 bit .Net 4.5 (and up) Windows desktop (maybe other app types, untested) app. (Yes, I know there is Log4Net, this was a fun little project, and well suited for my needs)
  • SynchronizationContextWrapper: A wrapper for SynchronizationContext, so SynchronizationContext is available throughout the entire application. A SynchronizationContext is for synchronizing data to another thread, for instance to the main thread. Handy if you want to update a System.Windows.Forms.Label from another thread. It is the most reliable way to do something like that IMHO.

Winforms and wpf examples available.

Reviews for this release

No reviews yet for this release.