This project has moved. For the latest updates, please go here.

Source code for finding the resource and project files of a solution

Dec 17, 2014 at 9:16 AM
Hey guys,

Can someone point me to the code where the list of the resource files and corresponding projects found by the ResX Resource Manager is?
Coordinator
Dec 18, 2014 at 10:43 AM
Hi Zoix

the ResourceManager class is the central model holding all the data.
It has a Load method that gets a list of all the resx files and generates the following models from the data:
  • ResourceEntity: A group of resource files of one project with the same base name but different language (resources.resx, resource.de.resx, ...)
  • ResourceTableEntry: A view on the resource entity by the resource key.
  • ResourceLanguage: A view on the resource entity by the language, i.e. one resx-file.
So to enumerate all resx-files you can just enumerate all ResourceLanguages of all ResourceEntities.

Is that what you've been looking for?

Tom
Dec 18, 2014 at 3:25 PM
I will look at these. Thank you!