Class AbpStringLocalizerFactory
Inheritance
System.Object
AbpStringLocalizerFactory
Assembly: Volo.Abp.Localization.dll
Syntax
public class AbpStringLocalizerFactory : IStringLocalizerFactory, IAbpStringLocalizerFactoryWithDefaultResourceSupport
Constructors
AbpStringLocalizerFactory(ResourceManagerStringLocalizerFactory, IOptions<AbpLocalizationOptions>, IServiceProvider)
Declaration
public AbpStringLocalizerFactory(ResourceManagerStringLocalizerFactory innerFactory, IOptions<AbpLocalizationOptions> abpLocalizationOptions, IServiceProvider serviceProvider)
Parameters
| Type |
Name |
Description |
| ResourceManagerStringLocalizerFactory |
innerFactory |
|
| IOptions<AbpLocalizationOptions> |
abpLocalizationOptions |
|
| IServiceProvider |
serviceProvider |
|
Properties
AbpLocalizationOptions
Declaration
protected AbpLocalizationOptions AbpLocalizationOptions { get; }
Property Value
InnerFactory
Declaration
protected ResourceManagerStringLocalizerFactory InnerFactory { get; }
Property Value
| Type |
Description |
| ResourceManagerStringLocalizerFactory |
|
LocalizerCache
Declaration
protected ConcurrentDictionary<Type, AbpStringLocalizerFactory.StringLocalizerCacheItem> LocalizerCache { get; }
Property Value
ServiceProvider
Declaration
protected IServiceProvider ServiceProvider { get; }
Property Value
| Type |
Description |
| IServiceProvider |
|
Methods
Create(String, String)
Declaration
public virtual IStringLocalizer Create(string baseName, string location)
Parameters
| Type |
Name |
Description |
| System.String |
baseName |
|
| System.String |
location |
|
Returns
| Type |
Description |
| IStringLocalizer |
|
Create(Type)
Declaration
public virtual IStringLocalizer Create(Type resourceType)
Parameters
| Type |
Name |
Description |
| Type |
resourceType |
|
Returns
| Type |
Description |
| IStringLocalizer |
|
CreateDefaultOrNull()
Declaration
public IStringLocalizer CreateDefaultOrNull()
Returns
| Type |
Description |
| IStringLocalizer |
|
Implements
Extension Methods