C# Класс TextTemplate.Template

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GenerateFormatedString ( ) : string

Return the well formated string with the user values

Load ( string tmpl, TextTemplate tt ) : Template

Return a new Template from the given string

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

Метод Описание
IndexOfNewLine ( string str ) : int
ParseStaticText ( string staticText, List textFragments, TextTemplate tt ) : void

Parse the given static text and split it on spaces and new lines

SplitNewlines ( List textFragments, string staticText, TextTemplate tt ) : void

Parse the given static text and split it on new lines

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

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

Return the well formated string with the user values
public GenerateFormatedString ( ) : string
Результат string

Load() публичный статический Метод

Return a new Template from the given string
public static Load ( string tmpl, TextTemplate tt ) : Template
tmpl string
tt TextTemplate
Результат Template