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