C# Class SIL.FieldWorks.FDO.FDOTests.DummyEditorialCheck

Dummy "check" that just calls the RecordError delegate once for each "error" in its list.
Inheritance: IScriptureCheck
Mostra file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
Check ( IEnumerable toks, RecordErrorHandler record ) : void

Execute the check and call 'RecordError' for every error found.

DummyEditorialCheck ( System.Guid checkId ) : System
GetReferences ( IEnumerable tokens, string desiredKey ) : List
Save ( ) : void

Method Details

Check() public method

Execute the check and call 'RecordError' for every error found.
public Check ( IEnumerable toks, RecordErrorHandler record ) : void
toks IEnumerable ITextToken's corresponding to the text to be checked. /// Typically this is one books worth.
record RecordErrorHandler Call this delegate to report each error found.
return void

DummyEditorialCheck() public method

public DummyEditorialCheck ( System.Guid checkId ) : System
checkId System.Guid
return System

GetReferences() public method

public GetReferences ( IEnumerable tokens, string desiredKey ) : List
tokens IEnumerable
desiredKey string
return List

Save() public method

public Save ( ) : void
return void