Announcement: The project name was recently updated from "Design Patterns Code Generator" to ".NET Code Kindler" to better reflect the spirit of this project.
Project DescriptionThis 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.
IntroductionThis 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
- 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
- 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
- Close all instances of Visual Studio 2008
- Remove ProviderModelItemTemplate.zip and SingletonItemTemplate.zip files under the following folders:
- C# item templates: \<User documents folder>\Visual Studio 2008\Templates\ItemTemplates\Visual C#\Code
- VB.NET item templates: \<User documents folder>\Visual Studio 2008\Templates\ItemTemplates\Visual Basic\Code