Modeling a C# enum in a model (C# code)
A C# enum is modeled through a Modeler Type Definition.
To model a C# enum in a model:
1. In the model, right-click the Model, Package, Class or Signal that is to own the enum, point to > > , and then click Enumeration.
2. Type the name of the enum.
3. Open the Type Definition's Property Pages, and set the standard properties of the Type Definition as required.
4. If you want to specify C# specific information, that is, an enum base type, attributes and the internal modifier:
a. Apply the «C# Enum» stereotype to the Type Definition.
b. On the Type Definition's Property Pages, click the C# Enum tab.
c. Set the tagged values of the Tag Definitions as required.