wx.Build.IXmlRefData Interface Reference

Inheritance diagram for wx.Build.IXmlRefData:

Inheritance graph

List of all members.

Public Member Functions

void ReadDataXml (System.Xml.XmlReader reader)
void WriteDataXml (System.Xml.XmlWriter writer)


Detailed Description

This interface will be implemented by those classes that will generally not be serialized with full data but as a reference to the full data. These classes are serializable but need an additional pair of methods to seriailze/deserialize their full data.

Typically, Xml-file creators will use these additional pair of methods to serialize/deserialize a collection of relevant instances first. Then, all references to these full data will be serialized/deserialized as a reference to one of these instances.

The classes implementing this interface are responsible to provide the means that the deserialization needs to find the full data related to a reference from XML.

See also:
RefDataSerializazer


Member Function Documentation

void wx.Build.IXmlRefData.ReadDataXml ( System.Xml.XmlReader  reader  ) 

Read full data from the serialization.

Parameters:
reader 

void wx.Build.IXmlRefData.WriteDataXml ( System.Xml.XmlWriter  writer  ) 

Write full data serialization to the provided writer.

Parameters:
writer The destination of the serialization.


The wx.NET Build System.   (c) 2009-2010 Harald Meyer auf'm Hofe