mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
605 B
21 lines
605 B
using System.Collections.Generic;
|
|
|
|
namespace LocalizationKeySynchronizer;
|
|
|
|
// This class is used to deserialize the JSON string from culture file.
|
|
public class AbpLocalizationInfo
|
|
{
|
|
public AbpLocalizationInfo(string culture, Dictionary<string, string> texts)
|
|
{
|
|
Culture = culture;
|
|
Texts = texts;
|
|
}
|
|
|
|
public string Culture { get; set; }
|
|
public Dictionary<string, string> Texts { get; set; }
|
|
|
|
public static bool TryDeserialize(string json, out AbpLocalizationInfo? localizationInfo)
|
|
{
|
|
return JsonHelper.TryDeserialize(json, out localizationInfo);
|
|
}
|
|
}
|