Public access to get String

Dec 10, 2015 at 7:46 AM
Hi,

Your tool is really usefull. Thank for making it !

A litte issue (for me), but it can be useful for somebody.

The generated Files does not give "public" acceess to "ResourceManager.getString()" function.

Some time time, I need to call resourcs a bellow. It's possible to do that in Windows Phone 8 with the default Resource Manager, by settings generator to "public" instead of "private".

AppResources.ResourceManager.GetString("Name of a resources"));

It was realy helpful to create a "Class" namely Resources Manager that contains a public method getString(). This method can call ResourceLoader.getString().
Coordinator
Dec 10, 2015 at 8:21 AM
Hello,

I haven't used the tool in a very long time. But as far as I can remember you can also use the PublicReswFileCodeGenerator. Have you tried that?

Unfortunately, I haven't been doing any Microsoft based development for the past 2 years so I have forgotten a lot of details

Best Regards,
Christian