C# Class Mvp.Xml.Common.XmlFragmentStream

Inheritance: Stream
Afficher le fichier Open project: Monobjc/monobjc-tools

Méthodes publiques

Méthode 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 méthode

See Stream.Close.
public Close ( ) : void
Résultat void

Flush() public méthode

See Stream.Flush.
public Flush ( ) : void
Résultat void

Read() public méthode

See Stream.Read.
public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

See Stream.Seek.
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

See Stream.SetLength.
public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

See Stream.Write.
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

XmlFragmentStream() public méthode

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.
Résultat System

XmlFragmentStream() public méthode

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.
Résultat System

XmlFragmentStream() public méthode

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.
Résultat System