开发者

Pull dynamic string out of embedded RESX

I have a R开发者_运维技巧ESX resource file that I can retrieve the values out of using the strongly typed properties and assign to values in my Silverlight 3 app. However at runtime I need to generate the lookup key based on some values to avoid a ton of if/switch statements. I'm trying to use the ResourceManager, but it doesn't like .resx files.

Searched far and wide... is this just not possible in SL3? Does anyone have another suggestion?


Couldn't you just use reflection on the strongly typed property class created by the resx generator?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜