Skip to:
Hello:
I have done some changes in the NVelocity template of the hbm2net tool i post them here for see if they can be of interest 🙂
Some of the changes are:
4 space indenting.
The parameters of the constructors uses the .net guidelines.( For this is needed to apply the JavaTool.cs patch.
Get and set blocks of the properties are changed to be a single line block.
Comments changes:
Comments from the private fieds are removed.
The comments of the contructors are changed to look like:
"Initializes a new instance of the xxx class"
The comments of the properties are changed to look like:
"Gets or sets the 'property_name' for the current 'class_name'"
The description of classes and properties are moved to the <remarks> section of the XML documentation comments.
I'm going to just blindly apply the patches for rc3.
The JavaTool.cs patch
The modified NVelocity template
Hello:
I have done some changes in the NVelocity template of the hbm2net tool i post them here for see if they can be of interest 🙂
Some of the changes are:
4 space indenting.
The parameters of the constructors uses the .net guidelines.
( For this is needed to apply the JavaTool.cs patch.
Get and set blocks of the properties are changed to be a single line block.
Comments changes:
Comments from the private fieds are removed.
The comments of the contructors are changed to look like:
"Initializes a new instance of the xxx class"
The comments of the properties are changed to look like:
"Gets or sets the 'property_name' for the current 'class_name'"
The description of classes and properties are moved to the <remarks> section of the XML documentation comments.