Class RedisOptionCollection
Collection of redis configurations.
Inherited Members
Namespace:CacheManager.Redis
Assembly:CacheManager.StackExchange.Redis.dll
Syntax
public sealed class RedisOptionCollection : ConfigurationElementCollection, ICollection, IEnumerable<RedisOptions>, IEnumerable
Constructors
| Improve this Doc View SourceRedisOptionCollection()
Initializes a new instance of the RedisOptionCollection class.
Declaration
public RedisOptionCollection()
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<RedisOptions> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<RedisOptions> | A IEnumerator<T> that can be used to iterate through the collection. |