XmlSource Class Reference

List of all members.

Public Member Functions

 XmlSource (System.String source)
 XmlSource (System.IO.StreamReader reader)
 XmlSource (System.IO.Stream stream)
 XmlSource ()

Properties

System.IO.Stream Bytes [get, set]
System.IO.StreamReader Characters [get, set]
System.String Uri [get, set]

Detailed Description

This class is used to encapsulate a source of Xml code in an single class.


Constructor & Destructor Documentation

XmlSource (  ) 

Constructs an empty XmlSource instance.

XmlSource ( System.IO.Stream  stream  ) 

Constructs a XmlSource instance with the specified source System.IO.Stream.

Parameters:
stream The stream containing the document.
XmlSource ( System.IO.StreamReader  reader  ) 

Constructs a XmlSource instance with the specified source System.IO.StreamReader.

Parameters:
reader The reader containing the document.
XmlSource ( System.String  source  ) 

Construct a XmlSource instance with the specified source Uri string.

Parameters:
source The source containing the document.

Property Documentation

System.IO.Stream Bytes [get, set]

Represents the source Stream of the XmlSource.

System.IO.StreamReader Characters [get, set]

Represents the source StreamReader of the XmlSource.

System.String Uri [get, set]

Represents the source URI of the XmlSource.