Interface ILocalizationController
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public interface ILocalizationController
Properties
|
Improve this Doc
View Source
CultureName
Declaration
string CultureName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
GetLocalizedDictionary(String, String, Localization)
Declaration
Dictionary<string, string> GetLocalizedDictionary(string resourceFile, string culture, Localization localization)
Parameters
Type |
Name |
Description |
System.String |
resourceFile |
|
System.String |
culture |
|
Localization |
localization |
|
Returns
Type |
Description |
Dictionary<System.String, System.String> |
|
|
Improve this Doc
View Source
GetLocalizedDictionary(String, String)
Returns a dictionary of localized key for a resource file for a given culture.
Declaration
Dictionary<string, string> GetLocalizedDictionary(string resourceFile, string culture)
Parameters
Type |
Name |
Description |
System.String |
resourceFile |
The relative file path of the main resource file, e.g. ~/DesktopModules/SocialLibrary/App_LocalResources/CmxResources.resx .
|
System.String |
culture |
The culture for which this dictionary is requested.
|
Returns
Type |
Description |
Dictionary<System.String, System.String> |
A dictionary of keys and values.
|
|
Improve this Doc
View Source
GetResxTimeStamp(String, Localization)
Declaration
long GetResxTimeStamp(string resourceFile, Localization localization)
Parameters
Type |
Name |
Description |
System.String |
resourceFile |
|
Localization |
localization |
|
Returns
Type |
Description |
System.Int64 |
|
Extension Methods