C# Класс AlbLib.Texts.TextCore

Core texts class.
Показать файл Открыть проект

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

Метод Описание
GetItemName ( short type ) : string

Gets localized item name for type using default language.

GetItemName ( short type, System.Language language ) : string

Gets localized item name for type and specified language.

TrimNull ( char chars ) : string

Creates a string from character array up to first null character.

TrimNull ( string str ) : string

Trims a string to first null character.

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

Метод Описание
LoadItemName ( int index, RefEq encoding ) : LanguageTerm
ReadString ( BinaryReader reader ) : string
TextCore ( ) : System

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

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

Gets localized item name for type using default language.
public static GetItemName ( short type ) : string
type short /// Item type. ///
Результат string

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

Gets localized item name for type and specified language.
public static GetItemName ( short type, System.Language language ) : string
type short /// Item type. ///
language System.Language /// Language of the name. ///
Результат string

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

Creates a string from character array up to first null character.
public static TrimNull ( char chars ) : string
chars char /// Source character array. ///
Результат string

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

Trims a string to first null character.
public static TrimNull ( string str ) : string
str string /// String to trim. ///
Результат string