在 .NET Compact Framework 中使用 HttpUtility.HtmlDecode 方法?
使用 .NET Compact Framework 的项目不允许使用 System.Web 库。
如何使用 .NET Compact Framework 对字符串进行 HTMLDecode?
我没有找到任何类可以做到这一点。
A project using .NET Compact Framework does not allow use System.Web library.
How can I do to HTMLDecode a string using .NET Compact Framework?
I didn't found any class that do that.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果反编译 .NET Framework 源代码,您可以获得所需的方法。我为你做的,所以你可以复制并粘贴下面的两个类:
If you decompile the .NET Framework source you can get the methods you need. I did it for you, so you can copy and paste the two classes below:
您始终可以从 Mono 移植代码,示例 VB 代码 或 示例 Java 代码 通过简单的 Web 搜索找到。
You could always port the code from Mono, sample VB code or sample Java code found with a simple web search.
我过去曾使用 reflector 从未包含的框架并将它们直接编译到我的compact.net项目中。
I've used reflector in the past to find just the methods I need from the framework that aren't included and compile them directly into my compact.net project.