Class Builder

Topic updated 18-10-2007

The Class Builder is a global helper object used by templates to construct classes. Its function is similar to the System.CodeDom classes in the .NET Framework, but the Class Builder is much simpler, and more flexible in some respects.

 

Configuration

To access the Class Builder configuration, choose Tools - Options - Framework - Class Builder from the main menu.

ClassBuilderNaming

 

Naming Conventions

The Class Builder supports different naming conventions for the naming of:

Classes
Class properties
Class fields (both private and public)
Method parameters

 

The Class Builder gives you the flexibility of adapting source code generated by GenWise to your preferred naming convention. The following basic naming schemes are supported:

CamelCase: first character lower, other tokens capitalized (_), rest as-is. Example: customerName.
Capitalize: all tokens capitalized. Example: CustomerName.
Lower: all forced to lower case. Example: customername.

 

The naming scheme can further be customized by setting a prefix and/or postfix to be used. This can be done per object type to be named.

 

.