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

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

Inheritance diagram for Apac.Configuration.ProtocolRefConfigElements:

Public Member Functions

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

ProtocolRefConfigElement this[int idx] [get, set]
 Numeric indexer that gets or sets the value at the provided index. More...
 
new ProtocolRefConfigElement 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 queue configurations.

Constructor & Destructor Documentation

◆ ProtocolRefConfigElements()

Apac.Configuration.ProtocolRefConfigElements.ProtocolRefConfigElements ( )
inline

Default constructor.

Member Function Documentation

◆ CreateNewElement()

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

Creates a new configuration element during deserialization.

Returns
A new ProtocolRefConfigElement.

◆ DeserializeElement()

override void Apac.Configuration.ProtocolRefConfigElements.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.ProtocolRefConfigElements.GetElementKey ( ConfigurationElement  element)
inlineprotected

Gets the unique identifier from element .

Parameters
elementThe element for which the unique id is needed.
Returns
Returns the ProtocolRefConfigElement.Protocol property.

Property Documentation

◆ CollectionType

override ConfigurationElementCollectionType Apac.Configuration.ProtocolRefConfigElements.CollectionType
get

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

◆ ElementName

override string Apac.Configuration.ProtocolRefConfigElements.ElementName
getprotected

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

◆ Properties

override ConfigurationPropertyCollection Apac.Configuration.ProtocolRefConfigElements.Properties
getprotected

Gets the collection of configuration properties for this configuration element.

◆ this[int idx]

ProtocolRefConfigElement Apac.Configuration.ProtocolRefConfigElements.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 QueueConfigElement at the provided index.

◆ this[string name]

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

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