C# Класс SILUBS.SharedScrUtils.TextFileDataSource

A class representing a file that can be parsed to find characters
Наследование: IChecksDataSource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetLocalizedString() публичный Метод

public GetLocalizedString ( string strToLocalize ) : string
strToLocalize string
Результат string

GetParameterValue() публичный Метод

Gets the parameter value.
public GetParameterValue ( string key ) : string
key string The key.
Результат string

GetReferences() публичный Метод

Gets the references.
public GetReferences ( ) : List
Результат List

GetText() публичный Метод

Gets the text (not supported).
public GetText ( int bookNum, int chapterNum ) : bool
bookNum int The book num.
chapterNum int The chapter num.
Результат bool

Save() публичный Метод

Saves this instance (not supported).
public Save ( ) : void
Результат void

SetParameterValue() публичный Метод

Sets the parameter value (not supported).
public SetParameterValue ( string key, string value ) : void
key string The key.
value string The value.
Результат void

TextFileDataSource() публичный Метод

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. ///
Результат System

TextFileDataSource() публичный Метод

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.
Результат System

TextTokens() публичный Метод

Gets the text tokens.
public TextTokens ( ) : IEnumerable
Результат IEnumerable