C# Класс DOTNETIDS.OutputFilter

A class that can examine a Page's output
Наследование: System.IO.Stream
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Close ( ) : void

Close the stream

Flush ( ) : void

Flush the contents of the stream

OutputFilter ( Stream baseStream, System page, Encoding encoder, IDS ids ) : System

Construct an Output Filter object using the same filters as an already existing IDS object

OutputFilter ( Stream baseStream, System page, Encoding encoder, string xmlPath ) : System

Construct an Output Filter object

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

Read from the stream

Seek ( long offset, SeekOrigin origin ) : long

Move the stream to a new position

SetLength ( long value ) : void

Set the length of the stream

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

Write to the stream

WriteResponse ( ) : void

Write the original response to the client

WriteResponse ( string response ) : void

Write a different response to the client

Приватные методы

Метод Описание
GetInterceptor ( ) : ControlRenderInteceptor

Get an object that can intercept control rendering

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

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

Close the stream
public Close ( ) : void
Результат void

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

Flush the contents of the stream
public Flush ( ) : void
Результат void

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

Construct an Output Filter object using the same filters as an already existing IDS object
public OutputFilter ( Stream baseStream, System page, Encoding encoder, IDS ids ) : System
baseStream Stream The underlying stream to filter
page System The page this request is based on
encoder System.Text.Encoding An encoding object
ids IDS The IDS containing the preloaded filters
Результат System

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

Construct an Output Filter object
public OutputFilter ( Stream baseStream, System page, Encoding encoder, string xmlPath ) : System
baseStream Stream The underlying stream to filter
page System The page this request is based on
encoder System.Text.Encoding An encoding object
xmlPath string The path to the output filters
Результат System

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

Read from the stream
public Read ( byte buffer, int offset, int count ) : int
buffer byte The buffer to fill
offset int The offset to read from
count int The number of bytes to read
Результат int

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

Move the stream to a new position
public Seek ( long offset, SeekOrigin origin ) : long
offset long The offset
origin SeekOrigin The origin
Результат long

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

Set the length of the stream
public SetLength ( long value ) : void
value long The new length
Результат void

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

Write to the stream
public Write ( byte buffer, int offset, int count ) : void
buffer byte The data to be written
offset int The offset to write at
count int The number of bytes to write
Результат void

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

Write the original response to the client
public WriteResponse ( ) : void
Результат void

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

Write a different response to the client
public WriteResponse ( string response ) : void
response string
Результат void