Generated class (HFLI namespace)
When we save our navigation, a new file xxxx.cs (or xxxx.vb, xxxx.asmx depending on the application language, the selected code type and the name you gave to the hfxml item) is created and added to the project.
This file has the communication class with the host. This class contains all the navigations of the project as methods. If you open this file, you will find a method called Navigate (Navigate is the default name that you can customize). This method returns an output of type HFLIClass1Result that has all the navigation output parameters as member variables.
Note
Each time the navigation in a project is saved to the xxxx.hfxml file, the generated code file is overwritten. If you want to edit this file, make a copy of it with a different name to make sure your changes are not lost accidentally. To be able to add your custom code without losing it with every save, please refer to the Persistent Code section above.