Importing .NET assemblies (C# code)
When modeling C# code in your model, you may want to refer to .NET assemblies, for example, as base classes or data types. The .NET Assembly Importer imports .NET assemblies into a model.
When you import a .NET assembly, the .NET Assembly Importer imports the .NET assembly's namespaces, public types, public members and protected members.
To import a .NET assembly:
1. From Modeler, open the model into which you want to import a .NET assembly.
|
Note that the model must contain the C# Profile.
|
2. On the Tools tab, click Assembly Importer.
3. Click the button associated with the Assembly box.
4. Select the assembly (.exe or .dll file) you want to import.
5. Click the button associated with the Package box.
6. Select the Package to which you want to import the selected .NET assembly.
7. Click OK.
8. From Modeler, on the Home or Window tab, click Refresh.