C# Класс SILUBS.ScriptureChecks.QuotationCheck

Наследование: IScrCheckInventory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Check ( IEnumerable toks, RecordErrorHandler record ) : void

Checks the given tokens for quotation errors. Ignores any found in 'validItemsList'. Calls the given RecordError handler for each one.

GetReferences ( IEnumerable tokens, string desiredKey ) : List

Gets a list if TextTokenSubstrings containing the references and character offsets where quotation problems occur.

QuotationCheck ( IChecksDataSource checksDataSource ) : System
Save ( ) : void

Saves the parameters for this check.

Приватные методы

Метод Описание
Localize ( string strToLocalize ) : string

Returns a localized version of the specified string.

Описание методов

Check() публичный Метод

Checks the given tokens for quotation errors. Ignores any found in 'validItemsList'. Calls the given RecordError handler for each one.
public Check ( IEnumerable toks, RecordErrorHandler record ) : void
toks IEnumerable The tokens to check.
record RecordErrorHandler Method to call to record errors.
Результат void

GetReferences() публичный Метод

Gets a list if TextTokenSubstrings containing the references and character offsets where quotation problems occur.
public GetReferences ( IEnumerable tokens, string desiredKey ) : List
tokens IEnumerable The tokens (from the data source) to check for quotation problems.
desiredKey string empty string.
Результат List

QuotationCheck() публичный Метод

public QuotationCheck ( IChecksDataSource checksDataSource ) : System
checksDataSource IChecksDataSource
Результат System

Save() публичный Метод

Saves the parameters for this check.
public Save ( ) : void
Результат void