C# Class SILUBS.SharedScrUtils.TextFileDataSource

A class representing a file that can be parsed to find characters
Inheritance: IChecksDataSource
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public GetLocalizedString ( string strToLocalize ) : string
strToLocalize string
Résultat string

GetParameterValue() public méthode

Gets the parameter value.
public GetParameterValue ( string key ) : string
key string The key.
Résultat string

GetReferences() public méthode

Gets the references.
public GetReferences ( ) : List
Résultat List

GetText() public méthode

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

Save() public méthode

Saves this instance (not supported).
public Save ( ) : void
Résultat void

SetParameterValue() public méthode

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

TextFileDataSource() public méthode

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. ///
Résultat System

TextFileDataSource() public méthode

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.
Résultat System

TextTokens() public méthode

Gets the text tokens.
public TextTokens ( ) : IEnumerable
Résultat IEnumerable