Method | Description | |
---|---|---|
GetStringLibrary ( this assembly ) : |
Gets the 'StringLibrary' resource for the given assembly. This method assumes that the resource file is named 'StringLibrary.resx' (or standard regional variant, such as 'StringLibrary.de.resx' or 'StringLibrary.de-DE.resx') and placed within the project. |
|
ToLocalString ( this key ) : string |
Converts the given key to it's localized form. This method assumes that the resource file is named 'StringLibrary.resx' (or standard regional variant, such as 'StringLibrary.de.resx' or 'StringLibrary.de-DE.resx') and placed within the project. |
|
ToLocalString ( this key, |
Converts the given key to it's localized form. This method assumes that the resource file is named 'StringLibrary.resx' (or standard regional variant, such as 'StringLibrary.de.resx' or 'StringLibrary.de-DE.resx') and placed within the project. |
Method | Description | |
---|---|---|
GetLocalStringValue ( string key, |
public static GetStringLibrary ( this assembly ) : |
||
assembly | this | The assembly containing the resource. |
return |
public static ToLocalString ( this key ) : string | ||
key | this | The key to lookup in the asset library. |
return | string |
public static ToLocalString ( this key, |
||
key | this | The key to lookup in the asset library. |
assembly | The assembly to use as a content lookup. | |
return | string |