C# Class NServiceBus.XmlSanitizingStream

Inheritance: System.IO.StreamReader
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
IsLegalXmlChar ( int character ) : bool

Get whether an integer represents a legal XML 1.0 character. See the specification at w3.org for these characters.

IsLegalXmlChar ( string xmlVersion, int character ) : bool
Peek ( ) : int
Read ( ) : int
Read ( char buffer, int index, int count ) : int
ReadBlock ( char buffer, int index, int count ) : int
ReadLine ( ) : string
ReadToEnd ( ) : string
XmlSanitizingStream ( Stream streamToSanitize ) : System

Method Details

IsLegalXmlChar() public static method

Get whether an integer represents a legal XML 1.0 character. See the specification at w3.org for these characters.
public static IsLegalXmlChar ( int character ) : bool
character int
return bool

IsLegalXmlChar() public static method

public static IsLegalXmlChar ( string xmlVersion, int character ) : bool
xmlVersion string
character int
return bool

Peek() public method

public Peek ( ) : int
return int

Read() public method

public Read ( ) : int
return int

Read() public method

public Read ( char buffer, int index, int count ) : int
buffer char
index int
count int
return int

ReadBlock() public method

public ReadBlock ( char buffer, int index, int count ) : int
buffer char
index int
count int
return int

ReadLine() public method

public ReadLine ( ) : string
return string

ReadToEnd() public method

public ReadToEnd ( ) : string
return string

XmlSanitizingStream() public method

public XmlSanitizingStream ( Stream streamToSanitize ) : System
streamToSanitize Stream
return System