LocalizationDataConvertFromDictionary Method |
Converts from dictionary to a
IListT for JSON transport.
Namespace:
Dundas.BI.WebApi.Models
Assembly:
Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax public static IList<LocalizationData> ConvertFromDictionary(
CultureInfo culture,
IReadOnlyDictionary<Guid, IReadOnlyDictionary<string, string>> strings
)
Public Shared Function ConvertFromDictionary (
culture As CultureInfo,
strings As IReadOnlyDictionary(Of Guid, IReadOnlyDictionary(Of String, String))
) As IList(Of LocalizationData)
public:
static IList<LocalizationData^>^ ConvertFromDictionary(
CultureInfo^ culture,
IReadOnlyDictionary<Guid, IReadOnlyDictionary<String^, String^>^>^ strings
)
static member ConvertFromDictionary :
culture : CultureInfo *
strings : IReadOnlyDictionary<Guid, IReadOnlyDictionary<string, string>> -> IList<LocalizationData>
Parameters
- culture
- Type: System.GlobalizationCultureInfo
The culture of the provided strings. - strings
- Type: System.Collections.GenericIReadOnlyDictionaryGuid, IReadOnlyDictionaryString, String
The strings to convert.
Return Value
Type:
IListLocalizationDataThe list of localization data in JSON ready format.
See Also