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

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

Inheritance diagram for Apac.Configuration.QueueConfigElements:

Public Member Functions

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

QueueConfigElement this[int idx] [get, set]
 Numeric indexer that gets or sets the value at the provided index. More...
 
new QueueConfigElement this[string qname] [get, set]
 String indexer (provided for convenience) that gets the value at the provided index. More...
 
override string ElementName [get]
 Gets the collection of configuration properties for this configuration element. More...
 
override ConfigurationPropertyCollection Properties [get]
 Overrides the default collection type to make this a basic map. 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

◆ QueueConfigElements()

Apac.Configuration.QueueConfigElements.QueueConfigElements ( )
inline

Default constructor.

Member Function Documentation

◆ CreateNewElement()

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

Creates a new configuration element during deserialization.

Returns
A new QueueConfigElement.

◆ DeserializeElement()

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

Gets the unique identifier from element .

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

Property Documentation

◆ CollectionType

override ConfigurationElementCollectionType Apac.Configuration.QueueConfigElements.CollectionType
get

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

◆ ElementName

override string Apac.Configuration.QueueConfigElements.ElementName
getprotected

Gets the collection of configuration properties for this configuration element.

◆ Properties

override ConfigurationPropertyCollection Apac.Configuration.QueueConfigElements.Properties
getprotected

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

◆ this[int idx]

QueueConfigElement Apac.Configuration.QueueConfigElements.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 qname]

new QueueConfigElement Apac.Configuration.QueueConfigElements.this[string qname]
getset

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

Parameters
qnameThe message type used to index into the collection.
Returns
The QueueConfigElement at the provided index.

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