C# 클래스 NAnt.Core.Filters.ReplaceTokens

상속: NAnt.Core.Filters.Filter
파일 보기 프로젝트 열기: skolima/NAnt

Private Properties

프로퍼티 타입 설명
CompareCharacters bool
FindTokenContents string
GetNextCharacter int

공개 메소드들

메소드 설명
Chain ( ChainableReader chainedReader ) : void

Construct that allows this filter to be chained to the one in the parameter chainedReader.

Peek ( ) : int

Reads the next character applying the filter logic without advancing the current position in the stream. Peek currently is not supported.

Read ( ) : int

Reads the next character applying the filter logic.

보호된 메소드들

메소드 설명
Initialize ( ) : void

Initialize the filter by setting its parameters.

비공개 메소드들

메소드 설명
CompareCharacters ( int char1, int char2 ) : bool

Compares to characters taking IgnoreCase into account.

FindTokenContents ( bool &tokenNotFound, bool &unknownToken, bool &streamEnded ) : string

Finds a token give that we are positioned at a beginning token character. Either a token replacement is returned or the characters that were read looking for the token.

GetNextCharacter ( AcquireCharDelegate AcquireChar ) : int

Returns the next character in the stream replacing the specified character. Using the AcquireCharDelegate allows for the same implementation for Read and Peek

메소드 상세

Chain() 공개 메소드

Construct that allows this filter to be chained to the one in the parameter chainedReader.
public Chain ( ChainableReader chainedReader ) : void
chainedReader ChainableReader Filter that the filter will be chained to
리턴 void

Initialize() 보호된 메소드

Initialize the filter by setting its parameters.
protected Initialize ( ) : void
리턴 void

Peek() 공개 메소드

Reads the next character applying the filter logic without advancing the current position in the stream. Peek currently is not supported.
public Peek ( ) : int
리턴 int

Read() 공개 메소드

Reads the next character applying the filter logic.
public Read ( ) : int
리턴 int