Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
C# Options - User
If you intend to generate C# code from your model, you can configure the code generation options using the C# Specifications page of the Options dialog to:
· | Specify a directory for opening and saving C# source code |
· | Indicate additional Collection Classes - to define custom collection classes, which can be simple substitutions (such as CArray<#TYPE#>) or a mix of other strings and substitutions (such as Cmap<CString,LPCTSTR,#TYPE#*,#TYPE#*>); the following collection classes are defined by default: |
· | List<#TYPE#>;Stack<#TYPE#>;Queue<#TYPE#>; |
Access Tools | Options | Source Code Engineering | C#
Options
Field/Option/Button |
Action |
See also |
||||||||||||||
Disable Language |
Leave this checkbox unselected to support C# code generation. Select this check box to disable C# code support.
|
|
||||||||||||||
Options for the current model |
In the value fields, specify the options that affect all users of the current model:
These options do not apply to other models.
|
|
||||||||||||||
Options for the current user |
In the value fields, specify the options that apply under your own user ID in all models that you access:
|
|
||||||||||||||
Statemachine Engineering |
In the value fields, use the drop-down arrows to set the options to True or False; these options apply to generating code from State Machine models in the current model only:
|
|
||||||||||||||
Collection Classes |
Click on this button to open the Collection Classes for Association Roles dialog, through which you specify the collection class definitions for Association connectors.
|
Learn more