mirror of https://github.com/abpframework/abp
parent
95f6b288a8
commit
f35e790360
@ -1,18 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Volo.Abp.Localization.External;
|
||||
|
||||
public class ExternalLocalizationData
|
||||
{
|
||||
public List<ExternalLocalizationResourceData> Resources { get; }
|
||||
|
||||
public ExternalLocalizationData()
|
||||
{
|
||||
Resources = new();
|
||||
}
|
||||
|
||||
public ExternalLocalizationData(List<ExternalLocalizationResourceData> resources)
|
||||
{
|
||||
Resources = Check.NotNull(resources, nameof(resources));
|
||||
}
|
||||
}
|
||||
@ -1,22 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Volo.Abp.Localization.External;
|
||||
|
||||
public class ExternalLocalizationResourceData
|
||||
{
|
||||
public string ResourceName { get; }
|
||||
|
||||
public Dictionary<string, string> Texts { get; }
|
||||
|
||||
public ExternalLocalizationResourceData(string resourceName)
|
||||
{
|
||||
ResourceName = Check.NotNullOrWhiteSpace(resourceName, nameof(resourceName));
|
||||
Texts = new();
|
||||
}
|
||||
|
||||
public ExternalLocalizationResourceData(string resourceName, Dictionary<string, string> texts)
|
||||
{
|
||||
ResourceName = Check.NotNullOrWhiteSpace(resourceName, nameof(resourceName));
|
||||
Texts = Check.NotNull(texts, nameof(texts));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue