C# Класс NAnt.Core.Filters.ReplaceTokens

Наследование: NAnt.Core.Filters.Filter
Показать файл Открыть проект

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