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

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

Inheritance diagram for Apac.Configuration.ProtocolConfigElements:

Public Member Functions

 ProtocolConfigElements ()
 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

ProtocolConfigElement this[int idx] [get, set]
 Numeric indexer that gets or sets the value at the provided index. More...
 
new ProtocolConfigElement this[string name] [get, set]
 String indexer (provided for convenience) that gets the value at the provided index. 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

◆ ProtocolConfigElements()

Apac.Configuration.ProtocolConfigElements.ProtocolConfigElements ( )
inline

Default constructor.

Member Function Documentation

◆ CreateNewElement()

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

Creates a new configuration element during deserialization.

Returns
A new ProtocolConfigElement.

◆ DeserializeElement()

override void Apac.Configuration.ProtocolConfigElements.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.ProtocolConfigElements.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.ProtocolConfigElements.CollectionType
get

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

◆ ElementName

override string Apac.Configuration.ProtocolConfigElements.ElementName
getprotected

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

◆ Properties

override ConfigurationPropertyCollection Apac.Configuration.ProtocolConfigElements.Properties
getprotected

Gets the collection of configuration properties for this configuration element.

◆ this[int idx]

ProtocolConfigElement Apac.Configuration.ProtocolConfigElements.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 ProtocolConfigElement at the provided index.

◆ this[string name]

new ProtocolConfigElement Apac.Configuration.ProtocolConfigElements.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 ProtocolConfigElement at the provided index.

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