C# Class Sharpex2D.Localization.LanguageProvider

Afficher le fichier Open project: ThuCommix/Sharpex2D

Méthodes publiques

Méthode Description
ChangeLanguage ( System.Guid guid ) : void

Changes the current language.

GetLocalizedString ( string id ) : string

Gets the LocalizedString from the current Language.

LanguageProvider ( ) : System
LoadLanguage ( string path ) : void

Loads a language based on the Path.

LoadLanguagesFromDirectory ( string directoryPath ) : void

Loads a languages in the given Directory.

Method Details

ChangeLanguage() public méthode

Changes the current language.
public ChangeLanguage ( System.Guid guid ) : void
guid System.Guid The LanguageGuide.
Résultat void

GetLocalizedString() public méthode

Gets the LocalizedString from the current Language.
public GetLocalizedString ( string id ) : string
id string The Id.
Résultat string

LanguageProvider() public méthode

public LanguageProvider ( ) : System
Résultat System

LoadLanguage() public méthode

Loads a language based on the Path.
public LoadLanguage ( string path ) : void
path string The Filepath.
Résultat void

LoadLanguagesFromDirectory() public méthode

Loads a languages in the given Directory.
public LoadLanguagesFromDirectory ( string directoryPath ) : void
directoryPath string The DirectoryPath.
Résultat void