Reverse operations
Introduction
The reverse process allows existing library classes to be used during the modeling phase. This process allows the generalization of these classes, as well as their implementation or their use in modeling.
To reverse a class, you must have an .exe or .dll file of a C# project that
includes this class. If you also have the .cs source code, a complete reverse
of the code and C# documentation comments can be carried out. If this is not
the case, only a structural reverse will be carried out.
Note: Currently, the reverse only supports C# 2.0 binaries or source files. The C# 3.x format isn't supported and could lead to errors.
Launching reverse operations
The two reverse commands provided by Objecteering C# Developer are run from the toolbar, as shown in Figure 53 below.

Figure 53. Icons used to run reverse commands
The reverse operation can be run from any element (Figure 54).

Figure 54. Running the reverse operation
Steps:
1.
Click on the
icon in the toolbar.
Reversing C# sources
The
"Reverse C# sources" icon opens
the following window, used to select the directory containing the elements to
reverse into the project (Figure 56).

Figure 56. Selecting the directory containing the files to be reversed
After selecting the directory containing the C# files you want to reverse and choosing the desired reverse option (full, mixed or simple), click on the "Next" button to continue.
After clicking on the "Next" button in Figure 56, the
following window (Figure 57) appears. This window is used to select the
elements to reverse into the project.

Figure 57. Selecting the files to be reversed
Select the elements you wish to reverse simply by checking the corresponding
tickbox, and click on "Reverse" to launch the reverse
operation.
Reversing .NET assemblies
The
icon in the toolbar opens the following
window, used to select the assembly which you wish to reverse into the project
(Figure 58).

Figure 58. Selecting the assembly to be reversed
After selecting the assembly and choosing the desired introspection option (whether or not only public elements will be included) and reverse option (full, mixed or simple), click on the "Next" button to continue.
After clicking on the "Next" button in Figure 58, the
following window (Figure 59) appears. This window is used to select the
components to reverse into the project.

Figure 59. Selecting the components to be reversed
Select the components you wish to
reverse simply by checking the corresponding tickbox, and click on "Next"
to launch the reverse operation.