C# Класс SIL.FieldWorks.Common.RootSites.TsStringCollectorEnv

Collect the results as a TsString.
Наследование: CollectorEnv
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddTsString ( ITsString tss ) : void

Accumulate a TsString into our result. The base implementation does nothing.

OpenParagraph ( ) : void

keep track of the opened paragraphs, so we can add spaces before strings in new paragraphs.

TsStringCollectorEnv ( IVwEnv baseEnv, ISilDataAccess sda, int hvoRoot ) : System

Initializes a new instance of the T:TsStringCollectorEnv class.

Защищенные методы

Метод Описание
AddResultString ( string s ) : void

Accumulate a string into our result. The base implementation does nothing.

Приватные методы

Метод Описание
AddResultString ( string s, int ws ) : void

Accumulate a string into our result, with known writing system. This base implementation ignores the writing system.

AppendSpaceForFirstWordInNewParagraph ( string s ) : void

We want to append a space if its the first (non-zero-lengthed) word in new paragraph (after the first paragraph).

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

AddResultString() защищенный Метод

Accumulate a string into our result. The base implementation does nothing.
protected AddResultString ( string s ) : void
s string The s.
Результат void

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

Accumulate a TsString into our result. The base implementation does nothing.
public AddTsString ( ITsString tss ) : void
tss ITsString The string.
Результат void

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

keep track of the opened paragraphs, so we can add spaces before strings in new paragraphs.
public OpenParagraph ( ) : void
Результат void

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

Initializes a new instance of the T:TsStringCollectorEnv class.
public TsStringCollectorEnv ( IVwEnv baseEnv, ISilDataAccess sda, int hvoRoot ) : System
baseEnv IVwEnv The base env.
sda ISilDataAccess Date access to get prop values etc.
hvoRoot int The root object to display, if m_baseEnv is null. /// If baseEnv is not null, hvoRoot is ignored.
Результат System