MemoryCacheSettingsCollection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 MemoryCacheSettingsCollection 元素的集合。 此类不能被继承。
public ref class MemoryCacheSettingsCollection sealed : System::Configuration::ConfigurationElementCollection
[System.Configuration.ConfigurationCollection(typeof(System.Runtime.Caching.Configuration.MemoryCacheElement), CollectionType=System.Configuration.ConfigurationElementCollectionType.AddRemoveClearMap)]
public sealed class MemoryCacheSettingsCollection : System.Configuration.ConfigurationElementCollection
[<System.Configuration.ConfigurationCollection(typeof(System.Runtime.Caching.Configuration.MemoryCacheElement), CollectionType=System.Configuration.ConfigurationElementCollectionType.AddRemoveClearMap)>]
type MemoryCacheSettingsCollection = class
inherit ConfigurationElementCollection
Public NotInheritable Class MemoryCacheSettingsCollection
Inherits ConfigurationElementCollection
- 继承
- 属性
注解
MemoryCacheSettingsCollection类表示配置元素和设置的集合,这些元素和设置配置类的MemoryCache实例。 换句话说,此设置集合包含表示元素和作为元素子项的设置的对象 memoryCache 。 类 MemoryCacheSettingsCollection 包含 元素 namedCaches 。
有关此类相关配置选项的详细信息,请参阅 <memoryCache> Element (Cache Settings) 和 <namedCaches> Element (Cache Settings) 。
构造函数
| MemoryCacheSettingsCollection() |
初始化 MemoryCacheSettingsCollection 类的新实例。 |
属性
方法
显式接口实现
| ICollection.CopyTo(Array, Int32) |
将 ConfigurationElementCollection 复制到数组。 (继承自 ConfigurationElementCollection) |
扩展方法
| Cast<TResult>(IEnumerable) |
将 IEnumerable 的元素强制转换为指定的类型。 |
| OfType<TResult>(IEnumerable) |
根据指定类型筛选 IEnumerable 的元素。 |
| AsParallel(IEnumerable) |
启用查询的并行化。 |
| AsQueryable(IEnumerable) |
将 IEnumerable 转换为 IQueryable。 |