C# Class Pokemon3D.GameCore.TranslationProviderImp

Inheritance: TranslationProvider
显示文件 Open project: nilllzz/Pokemon3D

Public Methods

Method Description
CreateValue ( string sectionId, string tokenId ) : LocalizedValue
GetTranslation ( string sectionId, string tokenId ) : string
OnLanguageChanged ( object sender, EventArgs e ) : void
TranslationProviderImp ( ) : Pokemon3D.Common.Diagnostics

Protected Methods

Method Description
Load ( SectionModel sectionModels ) : void

Private Methods

Method Description
OnConfigFileLoaded ( object sender, EventArgs e ) : void

Method Details

CreateValue() public method

public CreateValue ( string sectionId, string tokenId ) : LocalizedValue
sectionId string
tokenId string
return LocalizedValue

GetTranslation() public method

public GetTranslation ( string sectionId, string tokenId ) : string
sectionId string
tokenId string
return string

Load() protected method

protected Load ( SectionModel sectionModels ) : void
sectionModels SectionModel
return void

OnLanguageChanged() public method

public OnLanguageChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

TranslationProviderImp() public method

public TranslationProviderImp ( ) : Pokemon3D.Common.Diagnostics
return Pokemon3D.Common.Diagnostics