mirror of https://github.com/abpframework/abp.git
5 changed files with 16 additions and 67 deletions
@ -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