C# Класс Mvp.Xml.Common.XmlFragmentStream

Наследование: Stream
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Close() публичный Метод

See Stream.Close.
public Close ( ) : void
Результат void

Flush() публичный Метод

See Stream.Flush.
public Flush ( ) : void
Результат void

Read() публичный Метод

See Stream.Read.
public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Результат int

Seek() публичный Метод

See Stream.Seek.
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Результат long

SetLength() публичный Метод

See Stream.SetLength.
public SetLength ( long value ) : void
value long
Результат void

Write() публичный Метод

See Stream.Write.
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Результат void

XmlFragmentStream() публичный Метод

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.
Результат System

XmlFragmentStream() публичный Метод

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.
Результат System

XmlFragmentStream() публичный Метод

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.
Результат System