Login | Register
My pages Projects Community openCollabNet

miscutil
Project home

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

If you were registered and logged in, you could join this project.

Summary A .Net library containing some helpful utility classes
Category libraries
License Apache License
Owner(s) cmumford

Mission

MiscUtil is a project which contains classes that are commonly used on other applications. These classes are generally too small to fit into their own project, but I often find myself rewriting them, or duplicating the source in several projects. This project includes the following classes:

  • TimeSpanParser: A class to parse a textual representation of a time span, like "60 min.", and return a .Net Time TimeSpan object.
  • RegistrySettings: A simple class to simplify reading and writing application values to the registry.
  • FormPersister: A class to save and restore form positions to the Windows registry. This also contains a routine to determine if the windows title bar is visible.

The criteria I use to decide if a class gets added to this project is:

  • It must be generally useful to an application and also be likely to be used by an application.
  • It must be too small to fit into it's own project. This usually means that it is limited to a single class.

Development

  • This assembly is written in C# using Visual Studio 2005 and is running under Microsoft's .Net 2.0.
  • All unit tests, and they will eventually be numerous, will be written and run via NUnit.
  • The main development script is a MSBuild project file.