/Dapplo.Utils

Some basic utilities used through multiple projects (and a small Events->Linq impl)

Primary LanguageC#GNU Lesser General Public License v3.0LGPL-3.0

Dapplo.Utils

Some basic utilities used through multiple dapplo projects

WORK IN PROGRESS

  • Documentation can be found here (soon)
  • Current build status: Build status
  • Coverage Status: Coverage Status
  • NuGet package: NuGet package

Some things that are available in this library:

  • AsyncLock, this allows you to lock in async code without blocking the thread.
  • Extensions for Type, e.g. getting the default of a type: typeof(int).Default() this returns 0 (like default(int) but usable in non generic code)
  • Extensions for string, e.g. FormatWith allows more clear formatting.
  • UiContext which can be used to have Tasks run on the UI.