vendredi 23 juillet 2021

C# How to map files from an external project in a treeview

I want to map a external project files in a treeview with reflections.

The external project that i want to map into a treeview goes as following:

TreeStructure

How do i load this information from an external project into something i can use reflection on? I also only want to keep the files that has .razor extension.

To give you guys some context. I want to build an translation application so that you can load the razor pages from an external solution and make a json file that corresponds with each razor page.

Example: translate.nl.json

{
  "She/Center": {
    "cases":  "gevallen"
  },
  "She/Pages/Example2": {
    "title": "titel"
  }
}




Aucun commentaire:

Enregistrer un commentaire