Modeling a C# interface in a model (C# code)
A C# interface is modeled through a Modeler Interface.
To model a C# interface in a model:
1. In the model, right-click the Model, Package or Class that is to own the interface, point to > > , and then click Interface.
2. Type the name of the interface.
3. Open the Interface's Property Pages, and then set the standard properties of the Interface as required.
4. If you want to specify C# specific information, such as modifiers:
a. Apply the «C# Classifier» stereotype to the Interface.
b. On the Interface's Property Pages, click the C# Classifier tab.
c. Set the tagged values of the Tag Definitions as required.
For more information about the available Tag Definitions, click here
Interface mapping
5. Model interface members through Attributes, Roles or Operations:
◦ Model property members through Interface Attributes or Roles.
Tell me more...
◦ Model indexer and method members through Interface Operations.