Prev Next

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 'Preferences' dialog

Access

Ribbon

Start > View > Preferences > Source Code Engineering > C#

Keyboard Shortcuts

Ctrl+F9

Options

Option

Action

See also

Disable Language

Leave this checkbox unselected to support C# code generation.

Select this checkbox to disable C# code support.

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:

  • The default attribute type to create
  • Whether Namespaces should be generated when generating C# Classes
  • Whether to remove new lines (hard carriage returns) from the summary tag when importing XML.NET style comments
  • Whether to generate a Finalizer method when generating code for a C# Class
  • Whether to generate a Dispose method when generating code for a C# Class
  • The default source code directory location (click on the button)
  • The Code Editor to use (click on the button)

Learn more