Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > C# code > C# code > Reverse engineering legacy C# code > Modeling C# code in Modeler > Modeling C# interface implementation in a model (C# code)
  
Modeling C# interface implementation in a model (C# code)
Interface implementation is modeled through a Modeler Dependency of type Interface Realization.
To model C# interface implementation in a model:
1. On a Class Diagram, add the Interface from which the interface is generated.
2. On the Class Diagram, add the Class, Data Type or Signal from which the class or struct that implements the interface is generated.
3. On the Class Diagram toolbar, click the Dependency – abstraction button, click the Class, Data Type or Signal, and then click the Interface.
Modeler sets the Type of the Dependency to Interface Realization.
4. If the Interface that models the interface class is a template Class (generates a generic interface), specify the type arguments through the Dependency you created. How?