Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
C# Options
Configure options for C# code generation using the C# Specifications page of the Options dialog.
Access: Tools | Options | Source Code Engineering > C#
Use to:
- Indicate the default File extension
- 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#>;
- Specify a 'Get' prefix
- Specify a 'Set' prefix
- Specify a directory for opening and saving C# source code
Reference:
Field |
Usage |
See also |
Disable Language |
Indicates that C# is to be disabled |
|
Options for the current model |
Specifies the options used in the current model These options affect all users of the current model; however, they do not apply to other models |
|
Options for the current user |
Specifies the options used for the current user; these options apply to all models that are accessed by the user |
|
Collection Classes |
Opens the Collection Classes for Association Roles dialog, which allows the specification of collection class definitions |
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2011 Sparx Systems Pty Ltd.