ICache
ICache interface
定义存储渲染文档和文档资源缓存所需的方法。
public interface ICache
方法
| 姓名 | 描述 |
|---|---|
| GetKeys(string) | 返回匹配过滤器的所有键。 |
| Set(string, object) | 将缓存条目插入到缓存中。 |
| TryGetValue(string, out object) | 获取与此键关联的条目(如果存在)。 |
定义存储渲染文档和文档资源缓存所需的方法。
public interface ICache
| 姓名 | 描述 |
|---|---|
| GetKeys(string) | 返回匹配过滤器的所有键。 |
| Set(string, object) | 将缓存条目插入到缓存中。 |
| TryGetValue(string, out object) | 获取与此键关联的条目(如果存在)。 |