C# Class WPFLocalizeExtension.Extensions.LocTextExtension

Inheritance: LocExtension
Afficher le fichier Open project: SeriousM/WPFLocalizationExtension Class Usage Examples

Méthodes publiques

Méthode Description
FormatOutput ( TargetInfo endPoint, TargetInfo info ) : object

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

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

Méthodes protégées

Méthode Description
FormatText ( string target ) : string

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

Private Methods

Méthode Description
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.

Method Details

FormatOutput() public méthode

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.
Résultat object

FormatText() protected méthode

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.
Résultat string

LocTextExtension() public méthode

public LocTextExtension ( ) : System
Résultat System

LocTextExtension() public méthode

public LocTextExtension ( string key ) : System
key string
Résultat System