C# 클래스 SILUBS.ScriptureChecks.QuotationCheck

상속: IScrCheckInventory
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
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