Class ExternalLocalizationSaver
Inheritance
ExternalLocalizationSaver
Assembly: Volo.Abp.LanguageManagement.Domain.dll
Syntax
public class ExternalLocalizationSaver : IExternalLocalizationSaver, ITransientDependency
Constructors
ExternalLocalizationSaver(IOptions<AbpLocalizationOptions>, ILocalizationResourceRecordRepository, IStringLocalizerFactory, ILocalizationTextRecordRepository, IGuidGenerator, ILanguageProvider, IExternalLocalizationTextCache, IExternalLocalizationStore, IDistributedCache<ResourceHashCacheItem>, IApplicationInfoAccessor, IAbpDistributedLock, IOptions<AbpDistributedCacheOptions>, IExternalLocalizationStoreCache, IUnitOfWorkManager)
Declaration
public ExternalLocalizationSaver(IOptions<AbpLocalizationOptions> localizationOptions, ILocalizationResourceRecordRepository localizationResourceRecordRepository, IStringLocalizerFactory stringLocalizerFactory, ILocalizationTextRecordRepository localizationTextRecordRepository, IGuidGenerator guidGenerator, ILanguageProvider languageProvider, IExternalLocalizationTextCache externalLocalizationTextCache, IExternalLocalizationStore externalLocalizationStore, IDistributedCache<ExternalLocalizationSaver.ResourceHashCacheItem> hashCache, IApplicationInfoAccessor applicationInfoAccessor, IAbpDistributedLock distributedLock, IOptions<AbpDistributedCacheOptions> cacheOptions, IExternalLocalizationStoreCache externalLocalizationStoreCache, IUnitOfWorkManager unitOfWorkManager)
Parameters
Properties
ApplicationInfoAccessor
Declaration
protected IApplicationInfoAccessor ApplicationInfoAccessor { get; }
Property Value
CacheOptions
Declaration
protected AbpDistributedCacheOptions CacheOptions { get; }
Property Value
DistributedLock
Declaration
protected IAbpDistributedLock DistributedLock { get; }
Property Value
ExternalLocalizationStore
Declaration
protected IExternalLocalizationStore ExternalLocalizationStore { get; }
Property Value
ExternalLocalizationStoreCache
Declaration
protected IExternalLocalizationStoreCache ExternalLocalizationStoreCache { get; }
Property Value
ExternalLocalizationTextCache
Declaration
protected IExternalLocalizationTextCache ExternalLocalizationTextCache { get; }
Property Value
GuidGenerator
Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
HashCache
Declaration
protected IDistributedCache<ExternalLocalizationSaver.ResourceHashCacheItem> HashCache { get; }
Property Value
LanguageProvider
Declaration
protected ILanguageProvider LanguageProvider { get; }
Property Value
LocalizationOptions
Declaration
protected AbpLocalizationOptions LocalizationOptions { get; }
Property Value
LocalizationResourceRecordRepository
Declaration
protected ILocalizationResourceRecordRepository LocalizationResourceRecordRepository { get; }
Property Value
LocalizationTextRecordRepository
Declaration
protected ILocalizationTextRecordRepository LocalizationTextRecordRepository { get; }
Property Value
Logger
Declaration
public ILogger<ExternalLocalizationSaver> Logger { get; set; }
Property Value
StringLocalizerFactory
Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
UnitOfWorkManager
Declaration
protected IUnitOfWorkManager UnitOfWorkManager { get; }
Property Value
Methods
GetCompatibleCultures(SaveContext, LocalizationResource, IEnumerable<string>)
Declaration
protected virtual IEnumerable<string> GetCompatibleCultures(ExternalLocalizationSaver.SaveContext context, LocalizationResource resource, IEnumerable<string> supportedCultures)
Parameters
Returns
IsCompatibleCulture(string, IReadOnlyList<LanguageInfo>)
Declaration
protected virtual bool IsCompatibleCulture(string resourceCultureName, IReadOnlyList<LanguageInfo> applicationLanguages)
Parameters
Returns
IsCompatibleCulture(string, LanguageInfo)
Declaration
protected virtual bool IsCompatibleCulture(string resourceCultureName, LanguageInfo applicationLanguage)
Parameters
Returns
SaveAsync()
Declaration
Returns
Implements
Extension Methods