C# Класс WPFLocalizeExtension.Extensions.LocTextExtension

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

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

Метод Описание
FormatOutput ( TargetInfo endPoint, TargetInfo info ) : object

This function returns the properly prepared output of the markup extension.

LocTextExtension ( ) : System
LocTextExtension ( string key ) : System

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

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

This method formats the localized text. If the passed target text is null, string.empty will be returned.

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

Метод Описание
GetAppendText ( TextAppendType at ) : string

Returns the prefix or suffix text, depending on the supplied TextAppendType. If the prefix or suffix is null, it will be returned a string.empty.

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

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

This function returns the properly prepared output of the markup extension.
public FormatOutput ( TargetInfo endPoint, TargetInfo info ) : object
endPoint TargetInfo Information about the endpoint.
info TargetInfo Information about the target.
Результат object

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

This method formats the localized text. If the passed target text is null, string.empty will be returned.
protected FormatText ( string target ) : string
target string The text to format.
Результат string

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

public LocTextExtension ( ) : System
Результат System

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

public LocTextExtension ( string key ) : System
key string
Результат System