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.