ResourceManager 方法 |
ResourceManager 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| ClearCache |
清除缓存数据
| |
| Equals | (继承自 Object。) | |
| Finalize | (继承自 Object。) | |
| GetHashCode | (继承自 Object。) | |
| GetImage(String) |
读取文件或者内嵌或者网络的图片,弱引用缓存
| |
| GetImage(String, ActionImage) |
读取文件或者内嵌或者网络的图片,弱引用缓存
| |
| GetStream |
加载流数据,不缓存
| |
| GetText(String) |
读取文件或者内嵌或者网络的文本,弱引用缓存。
| |
| GetText(String, ActionString) |
读取文件或者内嵌或者网络的文本,弱引用缓存。
| |
| GetType | (继承自 Object。) | |
| MemberwiseClone | (继承自 Object。) | |
| Register |
注册资源程序集,资源必须是内嵌的才能读取,程序集名称不能重复
| |
| RemoveAssembly |
移除程序集
| |
| ToString | (继承自 Object。) |
| 名称 | 说明 | |
|---|---|---|
| ConvertTo |
类型转换
(由 ObjectExtenstions 定义。) | |
| Delay |
延迟操作
(由 ObjectExtenstions 定义。) | |
| Equal |
对象是否相等
(由 ObjectExtenstions 定义。) | |
| GetCreationCode | (由 ObjectExtenstions 定义。) | |
| GetPropretyValue |
获取对象属性值
(由 ObjectExtenstions 定义。) | |
| GetValue |
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。) | |
| Invoke |
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。) | |
| SetPropretyValue |
设置属性值
(由 ObjectExtenstions 定义。) | |
| SetValue |
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。) |