Class CacheHandleDefinitionCollection
The collection of cache handle definitions.
Inheritance
CacheHandleDefinitionCollection
Inherited Members
Namespace:CacheManager.Core.Configuration
Assembly:CacheManager.Core.dll
Syntax
public sealed class CacheHandleDefinitionCollection : ConfigurationElementCollection, ICollection, IEnumerable<CacheHandleDefinition>, IEnumerable
Constructors
| Improve this Doc View SourceCacheHandleDefinitionCollection()
Initializes a new instance of the CacheHandleDefinitionCollection class.
Declaration
public CacheHandleDefinitionCollection()
Methods
| Improve this Doc View SourceCreateNewElement()
When overridden in a derived class, creates a new ConfigurationElement.
Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type | Description |
---|---|
ConfigurationElement | A new ConfigurationElement. |
Overrides
| Improve this Doc View SourceGetElementKey(ConfigurationElement)
Gets the element key for a specified configuration element when overridden in a derived class.
Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type | Name | Description |
---|---|---|
ConfigurationElement | element | The ConfigurationElement to return the key for. |
Returns
Type | Description |
---|---|
Object | An Object that acts as the key for the specified ConfigurationElement. |
Overrides
| Improve this Doc View SourceGetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<CacheHandleDefinition> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<CacheHandleDefinition> | A IEnumerator<T> that can be used to iterate through the collection. |