C# Class UI.Infrastructure.Localizer

ファイルを表示 Open project: Nirklav/TCPChat Class Usage Examples

Public Methods

Method Description
Localize ( ErrorCode code ) : string
Localize ( SystemMessageId message ) : string
Localize ( string key ) : string
Set ( string locale ) : void

Private Methods

Method Description
GetKey ( ErrorCode code ) : string
GetKey ( SystemMessageId message ) : string

Method Details

Localize() public method

public Localize ( ErrorCode code ) : string
code ErrorCode
return string

Localize() public method

public Localize ( SystemMessageId message ) : string
message SystemMessageId
return string

Localize() public method

public Localize ( string key ) : string
key string
return string

Set() public method

public Set ( string locale ) : void
locale string
return void