C# Class DOTNETIDS.OutputFilter

A class that can examine a Page's output
Inheritance: System.IO.Stream
Afficher le fichier Open project: IndiansIncredible/.NetIDS Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
GetInterceptor ( ) : ControlRenderInteceptor

Get an object that can intercept control rendering

Method Details

Close() public méthode

Close the stream
public Close ( ) : void
Résultat void

Flush() public méthode

Flush the contents of the stream
public Flush ( ) : void
Résultat void

OutputFilter() public méthode

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

OutputFilter() public méthode

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

Read() public méthode

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
Résultat int

Seek() public méthode

Move the stream to a new position
public Seek ( long offset, SeekOrigin origin ) : long
offset long The offset
origin SeekOrigin The origin
Résultat long

SetLength() public méthode

Set the length of the stream
public SetLength ( long value ) : void
value long The new length
Résultat void

Write() public méthode

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
Résultat void

WriteResponse() public méthode

Write the original response to the client
public WriteResponse ( ) : void
Résultat void

WriteResponse() public méthode

Write a different response to the client
public WriteResponse ( string response ) : void
response string
Résultat void