C# Class SILUBS.SharedScrUtils.TextFileDataSource

A class representing a file that can be parsed to find characters
Inheritance: IChecksDataSource
显示文件 Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
GetLocalizedString ( string strToLocalize ) : string

GetParameterValue ( string key ) : string

Gets the parameter value.

GetReferences ( ) : List

Gets the references.

GetText ( int bookNum, int chapterNum ) : bool

Gets the text (not supported).

Save ( ) : void

Saves this instance (not supported).

SetParameterValue ( string key, string value ) : void

Sets the parameter value (not supported).

TextFileDataSource ( string scrChecksDllFile, string scrCheck, string fileData, string scrRefFormatString ) : System

Initializes a new instance of the TextFileDataSource class.

TextFileDataSource ( string scrChecksDllFile, string scrCheck, string fileData, string scrRefFormatString, string>.Dictionary parameters, CharacterCategorizer categorizer ) : System

Initializes a new instance of the TextFileDataSource class.

TextTokens ( ) : IEnumerable

Gets the text tokens.

Method Details

GetLocalizedString() public method

public GetLocalizedString ( string strToLocalize ) : string
strToLocalize string
return string

GetParameterValue() public method

Gets the parameter value.
public GetParameterValue ( string key ) : string
key string The key.
return string

GetReferences() public method

Gets the references.
public GetReferences ( ) : List
return List

GetText() public method

Gets the text (not supported).
public GetText ( int bookNum, int chapterNum ) : bool
bookNum int The book num.
chapterNum int The chapter num.
return bool

Save() public method

Saves this instance (not supported).
public Save ( ) : void
return void

SetParameterValue() public method

Sets the parameter value (not supported).
public SetParameterValue ( string key, string value ) : void
key string The key.
value string The value.
return void

TextFileDataSource() public method

Initializes a new instance of the TextFileDataSource class.
public TextFileDataSource ( string scrChecksDllFile, string scrCheck, string fileData, string scrRefFormatString ) : System
scrChecksDllFile string The DLL that contains the CharactersCheck class ///
scrCheck string Name of the scripture check to use
fileData string An array of strings with the lines of data from the file. ///
scrRefFormatString string Format string used to format scripture references. ///
return System

TextFileDataSource() public method

Initializes a new instance of the TextFileDataSource class.
public TextFileDataSource ( string scrChecksDllFile, string scrCheck, string fileData, string scrRefFormatString, string>.Dictionary parameters, CharacterCategorizer categorizer ) : System
scrChecksDllFile string The DLL that contains the CharactersCheck class
scrCheck string Name of the scripture check to use
fileData string An array of strings with the lines of data from the file.
scrRefFormatString string Format string used to format scripture references.
parameters string>.Dictionary Checking parameters to send the check.
categorizer CharacterCategorizer The character categorizer.
return System

TextTokens() public method

Gets the text tokens.
public TextTokens ( ) : IEnumerable
return IEnumerable