Class MasterDataStringLocalizerFactory
- Namespace
- JJMasterData.Commons.Localization
- Assembly
- JJMasterData.Commons.dll
public sealed class MasterDataStringLocalizerFactory : IStringLocalizerFactory
- Inheritance
-
MasterDataStringLocalizerFactory
- Implements
- Inherited Members
Constructors
MasterDataStringLocalizerFactory(ResourceManagerStringLocalizerFactory, IMemoryCache, IServiceProvider, IOptionsMonitor<MasterDataCommonsOptions>)
public MasterDataStringLocalizerFactory(ResourceManagerStringLocalizerFactory resourceManagerStringLocalizerFactory, IMemoryCache cache, IServiceProvider serviceProvider, IOptionsMonitor<MasterDataCommonsOptions> options)
Parameters
resourceManagerStringLocalizerFactory
ResourceManagerStringLocalizerFactorycache
IMemoryCacheserviceProvider
IServiceProvideroptions
IOptionsMonitor<MasterDataCommonsOptions>
Methods
Create(string, string)
Creates an IStringLocalizer.
public IStringLocalizer Create(string baseName, string location)
Parameters
baseName
stringThe base name of the resource to load strings from.
location
stringThe location to load resources from.
Returns
Create(Type)
Creates an IStringLocalizer using the Assembly and FullName of the specified Type.
public IStringLocalizer Create(Type resourceSource)