Books

Website Contents

List of all of the articles and essays from the archives.

E-mail letters

Contact Me

I would like to hear your comments or suggestions.

Programming code

Portfolio of Work

See some examples of my past projects

At a Glance

  • Code generation library for C# 3.0
  • Command line client to facilitate easy scripting and automation

Status: Complete

Company: Advantage Route Systems

C# Class Generator

Advantage Route Systems needed a program to create set of similar C# class files. Instead of manually creating them by hand they contracted us to build a “C# Class Generator” for them.

Goals

  • Reduce time to create new C# classes
  • Eliminate common typos
  • Promote a standard template for class files

Details

The generator uses template files and will generate completed class files that Advantage Route Systems can add to their projects. The project included a library and the console user interface.

The library was designed to generate the set of files using a simple public API. The console program made use of the library’s API and provided easy parameters so they could script any generation. This feature will let them automate their development process.

The final program featured unit tests written in NUnit covering over 80% of the code base and developer documentation.