问题描述
|
我正在使用.resx资源
文件存储一些\“ dictionary \\”数据,直到我想在我的Web应用程序的网格中
显示它。假设
我有\“ tags.resx \”
文件,并使用
自定义工具resxcodegenerator-我可以在C#中访问Tags.my_tag。但是我需要的是一种在集合中
获取文件中所有条目的
方法。
任何想法我该怎么做?
谢谢!
解决方法
尝试这个
var allEntries = new ResourceManager(typeof(Tags))
.GetResourceSet(CultureInfo.CurrentCulture,false,true);