ASN1C C# Runtime Library  7.5
Public Member Functions | Properties | List of all members
XmlSource Class Reference

Public Member Functions

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

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() [1/4]

XmlSource ( )

Constructs an empty XmlSource instance.

◆ XmlSource() [2/4]

XmlSource ( System.IO.Stream  stream)

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

Parameters
streamThe stream containing the document.

◆ XmlSource() [3/4]

XmlSource ( System.IO.StreamReader  reader)

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

Parameters
readerThe reader containing the document.

◆ XmlSource() [4/4]

XmlSource ( System.String  source)

Construct a XmlSource instance with the specified source Uri string.

Parameters
sourceThe source containing the document.

Property Documentation

◆ Bytes

System.IO.Stream Bytes
getset

Represents the source Stream of the XmlSource.

Referenced by XmlSaxParser.Parse().

◆ Characters

System.IO.StreamReader Characters
getset

Represents the source StreamReader of the XmlSource.

Referenced by XmlSaxParser.Parse().

◆ Uri

System.String Uri
getset

Represents the source URI of the XmlSource.

Referenced by XmlSaxParser.Parse().