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

Dummy ScrChecksDataSource that modifies the behavior of ScrChecksDataSource to be used in tests.
Inheritance: ScrChecksDataSource
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
DummyScrChecksDataSource ( FdoCache cache, int maxIdenticalErrors ) : System

Initializes a new instance of the DummyScrChecksDataSource class.

Protected Methods

Method Description
GetMaxIdenticalErrors ( System.Guid checkId ) : int

Gets the max identical errors.

Method Details

DummyScrChecksDataSource() public method

Initializes a new instance of the DummyScrChecksDataSource class.
public DummyScrChecksDataSource ( FdoCache cache, int maxIdenticalErrors ) : System
cache FdoCache The cache.
maxIdenticalErrors int The maximum number of identical errors that will /// be allowed for a Scripture check.
return System

GetMaxIdenticalErrors() protected method

Gets the max identical errors.
protected GetMaxIdenticalErrors ( System.Guid checkId ) : int
checkId System.Guid The unique id of the check.
return int