AP&C API Reference
Public Member Functions | Protected Member Functions | Properties | List of all members
Apac.Configuration.AddressResolverConfigElements Class Reference

Implements a basic configuration map for protocol configurations. More...

Inheritance diagram for Apac.Configuration.AddressResolverConfigElements:

Public Member Functions

 AddressResolverConfigElements ()
 Default constructor. More...
 

Protected Member Functions

override ConfigurationElement CreateNewElement ()
 Creates a new configuration element during deserialization. More...
 
override object GetElementKey (ConfigurationElement element)
 Gets the unique identifier from element . More...
 
override void DeserializeElement (System.Xml.XmlReader reader, bool serializeCollectionKey)
 Deserializes an element from XML configuration. More...
 

Properties

AddressResolverConfigElement this[int idx] [get, set]
 Numeric indexer that gets or sets the value at the provided index. More...
 
new AddressResolverConfigElement this[string name] [get, set]
 String indexer (provided for convenience) that gets the value at the provided index. More...
 
AddressResolverConfigElement Default [get]
 Gets the default AddressResolverConfigElement in the set. More...
 
override string ElementName [get]
 Gets the name of the XML elements that are contained in this collection. More...
 
override ConfigurationPropertyCollection Properties [get]
 Gets the collection of configuration properties for this configuration element. More...
 
override ConfigurationElementCollectionType CollectionType [get]
 Overrides the default collection type to make this a basic map. More...
 

Detailed Description

Implements a basic configuration map for protocol configurations.

Constructor & Destructor Documentation

◆ AddressResolverConfigElements()

Apac.Configuration.AddressResolverConfigElements.AddressResolverConfigElements ( )
inline

Default constructor.

Member Function Documentation

◆ CreateNewElement()

override ConfigurationElement Apac.Configuration.AddressResolverConfigElements.CreateNewElement ( )
inlineprotected

Creates a new configuration element during deserialization.

Returns
A new ProtocolConfigElement.

◆ DeserializeElement()

override void Apac.Configuration.AddressResolverConfigElements.DeserializeElement ( System.Xml.XmlReader  reader,
bool  serializeCollectionKey 
)
inlineprotected

Deserializes an element from XML configuration.

Parameters
readerThe System.Xml.XmlReader containing the serialized data.
serializeCollectionKey??

◆ GetElementKey()

override object Apac.Configuration.AddressResolverConfigElements.GetElementKey ( ConfigurationElement  element)
inlineprotected

Gets the unique identifier from element .

Parameters
elementThe element for which the unique id is needed.
Returns
Returns the ProtocolConfigElement.Name property.

Property Documentation

◆ CollectionType

override ConfigurationElementCollectionType Apac.Configuration.AddressResolverConfigElements.CollectionType
get

Overrides the default collection type to make this a basic map.

◆ Default

AddressResolverConfigElement Apac.Configuration.AddressResolverConfigElements.Default
get

Gets the default AddressResolverConfigElement in the set.

The default AddressResolverConfigElement.

◆ ElementName

override string Apac.Configuration.AddressResolverConfigElements.ElementName
getprotected

Gets the name of the XML elements that are contained in this collection.

◆ Properties

override ConfigurationPropertyCollection Apac.Configuration.AddressResolverConfigElements.Properties
getprotected

Gets the collection of configuration properties for this configuration element.

◆ this[int idx]

AddressResolverConfigElement Apac.Configuration.AddressResolverConfigElements.this[int idx]
getset

Numeric indexer that gets or sets the value at the provided index.

Parameters
idxThe numeric index into the collection.
Returns
The AddressResolverConfigElement at the provided index.

◆ this[string name]

new AddressResolverConfigElement Apac.Configuration.AddressResolverConfigElements.this[string name]
getset

String indexer (provided for convenience) that gets the value at the provided index.

Parameters
nameThe name used to index into the collection.
Returns
The AddressResolverConfigElement at the provided index.

The documentation for this class was generated from the following file: