C# Class Mvp.Xml.Common.XmlFragmentStream

Inheritance: Stream
Datei anzeigen Open project: Monobjc/monobjc-tools

Public Methods

Method Description
Close ( ) : void

See Stream.Close.

Flush ( ) : void

See Stream.Flush.

Read ( byte buffer, int offset, int count ) : int

See Stream.Read.

Seek ( long offset, SeekOrigin origin ) : long

See Stream.Seek.

SetLength ( long value ) : void

See Stream.SetLength.

Write ( byte buffer, int offset, int count ) : void

See Stream.Write.

XmlFragmentStream ( Stream innerStream ) : System

Initializes the class with the underlying stream to use, and uses the default <root> container element.

XmlFragmentStream ( Stream innerStream, string rootName ) : System

Initializes the class with the underlying stream to use, with a custom root element.

XmlFragmentStream ( Stream innerStream, string rootName, string ns ) : System

Initializes the class with the underlying stream to use, with a custom root element.

Method Details

Close() public method

See Stream.Close.
public Close ( ) : void
return void

Flush() public method

See Stream.Flush.
public Flush ( ) : void
return void

Read() public method

See Stream.Read.
public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

See Stream.Seek.
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

See Stream.SetLength.
public SetLength ( long value ) : void
value long
return void

Write() public method

See Stream.Write.
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

XmlFragmentStream() public method

Initializes the class with the underlying stream to use, and uses the default <root> container element.
public XmlFragmentStream ( Stream innerStream ) : System
innerStream Stream The stream to read from.
return System

XmlFragmentStream() public method

Initializes the class with the underlying stream to use, with a custom root element.
public XmlFragmentStream ( Stream innerStream, string rootName ) : System
innerStream Stream The stream to read from.
rootName string Custom root element name to use.
return System

XmlFragmentStream() public method

Initializes the class with the underlying stream to use, with a custom root element.
public XmlFragmentStream ( Stream innerStream, string rootName, string ns ) : System
innerStream Stream The stream to read from.
rootName string Custom root element name to use.
ns string The namespace of the root element.
return System