Project Description
This project generates boilerplate classes for a subset of design patterns where it is applicable. The currently supported design patterns are:

* Provider Model
* Singleton

It generates both C# and Visual Basic.NET class files.

Introduction
This open-source project uses two methods to generate a few of the design patterns. As for the first release it covers only the Singleton and the Provider Model design patterns and only for Visual Studio.NET 2008. There are plans to extend it to cover more software design pattern.

Methods
  1. Visual Studio 2008 Item Templates: download from either the Releases tab or the Source Code tab or for more details check out http://blog.joubin.ca/2008/11/singleton-provider-model-item-templates.html
  2. Text Templating (T4): download from either the Releases tab or the Source Code tab or for more details check out http://blog.joubin.ca/2008/11/codeplex-design-pattern-code-generator.html

Uninstall custom item templates
  1. Close all instances of Visual Studio 2008
  2. Remove ProviderModelItemTemplate.zip and SingletonItemTemplate.zip files under the following folders:
    1. C# item templates: \<User documents folder>\Visual Studio 2008\Templates\ItemTemplates\Visual C#\Code
    2. VB.NET item templates: \<User documents folder>\Visual Studio 2008\Templates\ItemTemplates\Visual Basic\Code

Last edited Apr 1, 2010 at 11:37 AM by joubin, version 21