C# 클래스 Castle.MonoRail.Framework.TransformFilters.LowerCaseTransformFilter

Simple proof of concept filter that converts the stream data to lowercase.
상속: TransformFilter
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

공개 메소드들

메소드 설명
LowerCaseTransformFilter ( Stream baseStream ) : System

Initializes a new instance of the LowerCaseTransformFilter class.

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

When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

메소드 상세

LowerCaseTransformFilter() 공개 메소드

Initializes a new instance of the LowerCaseTransformFilter class.
public LowerCaseTransformFilter ( Stream baseStream ) : System
baseStream Stream The stream to write to after filtering.
리턴 System

Write() 공개 메소드

When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
An I/O error occurs. The stream does not support writing. Methods were called after the stream was closed. buffer is null. The sum of offset and count is greater than the buffer length. offset or count is negative.
public Write ( byte buffer, int offset, int count ) : void
buffer byte An array of bytes. This method copies count bytes from buffer to the current stream.
offset int The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
count int The number of bytes to be written to the current stream.
리턴 void