Codify

A Powerful .NET
Code Generator

Strongly-Typed Collections

This template generates strongly typed collections and strongly typed dictionaries.

Strongly-Typed Collections
Generated collection classes are derived from System.Collections.CollectionBase. Each collection class can optionally include a User Code region that allows template users to add their own custom data or code to each generated class. The access modifier of each collection can be changed to any valid access modifier: Public, Private, etc.

Strongly-Typed Dictionaries
Generated dictionary classes are derived from System.Collections.DictionaryBase. Each dictionary class can optionally include a User Code region that allows template users to add their own custom data or code to each generated class. The access modifier of each dictionary can be changed to any valid access modifier: Public, Private, etc.

Template Notes
This template generates one class for each specified collection and dictionary.

Version History
1.0.0 - Initial release.
1.1.0 - Corrected VB.NET rendering script to correctly support "Option Strict On."
1.2.0 - Corrected type problem with the CopyTo method on strongly-typed Dictionary classes.