AP&C API Reference
Public Member Functions | Protected Member Functions | List of all members
Apac.Messaging.DeliveryStatusList Class Reference

This class provides a statically-typed list for keeping delivery history. More...

Inheritance diagram for Apac.Messaging.DeliveryStatusList:

Public Member Functions

 DeliveryStatusList ()
 Creates an empty list for containing DeliveryStatus entries. More...
 
 DeliveryStatusList (int capacity)
 Creates an empty list with an initial capacity, for containing DelivereStatus entries. More...
 
 DeliveryStatusList (IEnumerable< DeliveryStatus > list)
 Creates a new list from list . More...
 
 DeliveryStatusList (SerializationInfo info, StreamingContext context)
 The binary deserialization constructor. More...
 
void GetObjectData (SerializationInfo info, StreamingContext context)
 The binary serialization method. More...
 
System.Xml.Schema.XmlSchema GetSchema ()
 This method is a no-op. We have opted to use the System.Xml.Serialization.XmlSchemaProviderAttribute instead. More...
 
void ReadXml (System.Xml.XmlReader reader)
 Deserializes object data from XML format. More...
 
void WriteXml (System.Xml.XmlWriter writer)
 Serializes object data to XML format. More...
 

Protected Member Functions

virtual void OnReadXml (System.Xml.XmlReader reader)
 The virtual plug-in point for XML deserialization, for subclasses to participate. More...
 
virtual void OnWriteXml (System.Xml.XmlWriter writer)
 The virtual plug-in point for XML serialization, for subclasses to participate. More...
 

Detailed Description

This class provides a statically-typed list for keeping delivery history.

This class was created because I had problems using XML serialization on a standard List{DeliveryStatus} (bunch of crap).

Constructor & Destructor Documentation

◆ DeliveryStatusList() [1/4]

Apac.Messaging.DeliveryStatusList.DeliveryStatusList ( )
inline

Creates an empty list for containing DeliveryStatus entries.

◆ DeliveryStatusList() [2/4]

Apac.Messaging.DeliveryStatusList.DeliveryStatusList ( int  capacity)
inline

Creates an empty list with an initial capacity, for containing DelivereStatus entries.

Parameters
capacityThe initial capacity.

◆ DeliveryStatusList() [3/4]

Apac.Messaging.DeliveryStatusList.DeliveryStatusList ( IEnumerable< DeliveryStatus list)
inline

Creates a new list from list .

Parameters
listThe list of DeliveryStatus elements from which the new list will be created.

◆ DeliveryStatusList() [4/4]

Apac.Messaging.DeliveryStatusList.DeliveryStatusList ( SerializationInfo  info,
StreamingContext  context 
)
inline

The binary deserialization constructor.

Parameters
infoSee SerializationInfo.
contextSee StreamingContext.

Member Function Documentation

◆ GetObjectData()

void Apac.Messaging.DeliveryStatusList.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)
inline

The binary serialization method.

Parameters
infoSee SerializationInfo.
contextSee StreamingContext.

◆ GetSchema()

System.Xml.Schema.XmlSchema Apac.Messaging.DeliveryStatusList.GetSchema ( )
inline

This method is a no-op. We have opted to use the System.Xml.Serialization.XmlSchemaProviderAttribute instead.

Returns
Returns null.

◆ OnReadXml()

virtual void Apac.Messaging.DeliveryStatusList.OnReadXml ( System.Xml.XmlReader  reader)
inlineprotectedvirtual

The virtual plug-in point for XML deserialization, for subclasses to participate.

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

◆ OnWriteXml()

virtual void Apac.Messaging.DeliveryStatusList.OnWriteXml ( System.Xml.XmlWriter  writer)
inlineprotectedvirtual

The virtual plug-in point for XML serialization, for subclasses to participate.

Parameters
writerThe System.Xml.XmlWriter receiving the serialized data.

◆ ReadXml()

void Apac.Messaging.DeliveryStatusList.ReadXml ( System.Xml.XmlReader  reader)
inline

Deserializes object data from XML format.

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

◆ WriteXml()

void Apac.Messaging.DeliveryStatusList.WriteXml ( System.Xml.XmlWriter  writer)
inline

Serializes object data to XML format.

Parameters
writerThe System.Xml.XmlWriter receiving the serialized data.

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