C# Класс QUT.Gplex.Parser.StringUtilities

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

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

Метод Описание
MakeComment ( int indent, string text ) : string

Modifies a string so that if it contains multiple lines every line after the first is prepended by "//" followed by "indent" spaces.

MaxWidth ( string source ) : int

Returns the character width of a (possibly multiline) string.

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

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

Modifies a string so that if it contains multiple lines every line after the first is prepended by "//" followed by "indent" spaces.
public static MakeComment ( int indent, string text ) : string
indent int The line indent
text string The input string
Результат string

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

Returns the character width of a (possibly multiline) string.
public static MaxWidth ( string source ) : int
source string
Результат int