C# Class Castle.MonoRail.Framework.TransformFilter

Abstract base class for HttpFilters.
Inheritance: Stream, ITransformFilter
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Close ( ) : void

Close implementation.

Don't forget to call base.Close is you override this function.

Flush ( ) : void

Flushes the base stream

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

This method is not supported for an HttpFilter

Seek ( long offset, SeekOrigin origin ) : long

This method is not supported for an HttpFilter

SetLength ( long value ) : void

This method is not supported for an HttpFilter

TransformFilter ( Stream baseStream ) : System

Base class holds the underlying stream.

Method Details

Close() public method

Close implementation.
Don't forget to call base.Close is you override this function.
public Close ( ) : void
return void

Flush() public method

Flushes the base stream
public Flush ( ) : void
return void

Read() public method

This method is not supported for an HttpFilter
Always thrown
public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

This method is not supported for an HttpFilter
Always thrown
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

This method is not supported for an HttpFilter
Always thrown
public SetLength ( long value ) : void
value long
return void

TransformFilter() public method

Base class holds the underlying stream.
public TransformFilter ( Stream baseStream ) : System
baseStream Stream The stream to write to after filtering.
return System