Modeling a C# indexer in a model (C# code)
A C# indexer is modeled through a Modeler Operation.
To model a C# indexer in a model:
1. In the model, right-click the Class, Data Type or Interface that is to own the indexer, point to New, and then click Operation.
2. Type the name of the indexer.
3. Set the standard properties of the Operation as required.
4. Apply the «C# Indexer» stereotype to the Operation.
5. On the Operation's Property Pages, click the C# Indexer tab.
6. Set the tagged values of the Tag Definitions as required.
For more information about the available Tag Definitions, click here
Operation mapping