• CacheManager
  • Documentation
  • Api Docs
  • MichaCo.net
    Show / Hide Table of Contents

    Class EndpointCollection

    Collection of end point configurations.

    Inheritance
    Object
    ConfigurationElement
    ConfigurationElementCollection
    EndpointCollection
    Inherited Members
    ConfigurationElementCollection.IsModified()
    ConfigurationElementCollection.ResetModified()
    ConfigurationElementCollection.IsReadOnly()
    ConfigurationElementCollection.SetReadOnly()
    ConfigurationElementCollection.Equals(Object)
    ConfigurationElementCollection.GetHashCode()
    ConfigurationElementCollection.Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)
    ConfigurationElementCollection.Reset(ConfigurationElement)
    ConfigurationElementCollection.CopyTo(ConfigurationElement[], Int32)
    ConfigurationElementCollection.ICollection.CopyTo(Array, Int32)
    ConfigurationElementCollection.BaseAdd(ConfigurationElement)
    ConfigurationElementCollection.BaseAdd(ConfigurationElement, Boolean)
    ConfigurationElementCollection.BaseIndexOf(ConfigurationElement)
    ConfigurationElementCollection.BaseAdd(Int32, ConfigurationElement)
    ConfigurationElementCollection.BaseRemove(Object)
    ConfigurationElementCollection.BaseGet(Object)
    ConfigurationElementCollection.BaseIsRemoved(Object)
    ConfigurationElementCollection.BaseGet(Int32)
    ConfigurationElementCollection.BaseGetAllKeys()
    ConfigurationElementCollection.BaseGetKey(Int32)
    ConfigurationElementCollection.BaseClear()
    ConfigurationElementCollection.BaseRemoveAt(Int32)
    ConfigurationElementCollection.SerializeElement(XmlWriter, Boolean)
    ConfigurationElementCollection.OnDeserializeUnrecognizedElement(String, XmlReader)
    ConfigurationElementCollection.CreateNewElement(String)
    ConfigurationElementCollection.IsElementRemovable(ConfigurationElement)
    ConfigurationElementCollection.IsElementName(String)
    ConfigurationElementCollection.AddElementName
    ConfigurationElementCollection.RemoveElementName
    ConfigurationElementCollection.ClearElementName
    ConfigurationElementCollection.Count
    ConfigurationElementCollection.EmitClear
    ConfigurationElementCollection.IsSynchronized
    ConfigurationElementCollection.SyncRoot
    ConfigurationElementCollection.ElementName
    ConfigurationElementCollection.ThrowOnDuplicate
    ConfigurationElementCollection.CollectionType
    ConfigurationElement.Init()
    ConfigurationElement.ListErrors(IList)
    ConfigurationElement.InitializeDefault()
    ConfigurationElement.SetPropertyValue(ConfigurationProperty, Object, Boolean)
    ConfigurationElement.SerializeToXmlElement(XmlWriter, String)
    ConfigurationElement.DeserializeElement(XmlReader, Boolean)
    ConfigurationElement.OnRequiredPropertyNotFound(String)
    ConfigurationElement.PostDeserialize()
    ConfigurationElement.PreSerialize(XmlWriter)
    ConfigurationElement.OnDeserializeUnrecognizedAttribute(String, String)
    ConfigurationElement.GetTransformedTypeString(String)
    ConfigurationElement.GetTransformedAssemblyString(String)
    ConfigurationElement.LockAttributes
    ConfigurationElement.LockAllAttributesExcept
    ConfigurationElement.LockElements
    ConfigurationElement.LockAllElementsExcept
    ConfigurationElement.LockItem
    ConfigurationElement.Item[ConfigurationProperty]
    ConfigurationElement.Item[String]
    ConfigurationElement.Properties
    ConfigurationElement.ElementInformation
    ConfigurationElement.EvaluationContext
    ConfigurationElement.ElementProperty
    ConfigurationElement.HasContext
    ConfigurationElement.CurrentConfiguration
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:CacheManager.Redis
    Assembly:CacheManager.StackExchange.Redis.dll
    Syntax
    public sealed class EndpointCollection : ConfigurationElementCollection, ICollection, IEnumerable<Endpoint>, IEnumerable

    Constructors

    | Improve this Doc View Source

    EndpointCollection()

    Initializes a new instance of the EndpointCollection class.

    Declaration
    public EndpointCollection()

    Methods

    | Improve this Doc View Source

    CreateNewElement()

    When overridden in a derived class, creates a new ConfigurationElement.

    Declaration
    protected override ConfigurationElement CreateNewElement()
    Returns
    Type Description
    ConfigurationElement

    A new ConfigurationElement.

    Overrides
    ConfigurationElementCollection.CreateNewElement()
    | Improve this Doc View Source

    GetElementKey(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
    ConfigurationElementCollection.GetElementKey(ConfigurationElement)
    | Improve this Doc View Source

    GetEnumerator()

    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.

    Implements
    IEnumerable<T>.GetEnumerator()
    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net