Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: mikemill on March 09, 2006, 02:19:47 pm

Title: C# code generation templates
Post by: mikemill on March 09, 2006, 02:19:47 pm
Does anyone have a C# code generation template that matches the C# language spec and library design guide? I have a number of developers who really get upset when I give them gen'd code.

Thanks
Title: Re: C# code generation templates
Post by: Eve on March 09, 2006, 02:25:57 pm
I posted a set of C# templates that move all braces to the line after all declarations to the EA user group.

What other changes are you suggesting?

Do you have any links to documents that show a recommended style different from what we generate?
Title: Re: C# code generation templates
Post by: mikemill on March 09, 2006, 02:53:26 pm
That's a good enough start :) I didn't see the AE user group "area" anywhere. Guess I'll keep looking.

Thanks
Title: Re: C# code generation templates
Post by: mikemill on March 09, 2006, 03:00:37 pm
Found it. I didn't know about *that* site.
Title: Re: C# code generation templates
Post by: thomaskilian on March 10, 2006, 01:10:57 am
It's courtesy of one of the EA fans: Bruno Cossi :)
Title: Re: C# code generation templates
Post by: dirc on March 10, 2006, 07:20:40 am
I am presuming you mean the registered users section?
I cannot find this anywhere.. could someone either provide me with a link or at least tell me where to find it!

Thanks
Title: Re: C# code generation templates
Post by: Oliver Michalski on March 10, 2006, 07:36:31 am
Hi,
try this

http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=Automation;action=display;num=1112767017

Oliver  ;)