ResourceManagerWithCultureStringLocalizer Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ResourceManagerWithCultureStringLocalizer(ResourceManager, Assembly, String, IResourceNamesCache, CultureInfo)
Creates a new ResourceManagerWithCultureStringLocalizer.
public:
ResourceManagerWithCultureStringLocalizer(System::Resources::ResourceManager ^ resourceManager, System::Reflection::Assembly ^ resourceAssembly, System::String ^ baseName, Microsoft::Extensions::Localization::IResourceNamesCache ^ resourceNamesCache, System::Globalization::CultureInfo ^ culture);
public ResourceManagerWithCultureStringLocalizer (System.Resources.ResourceManager resourceManager, System.Reflection.Assembly resourceAssembly, string baseName, Microsoft.Extensions.Localization.IResourceNamesCache resourceNamesCache, System.Globalization.CultureInfo culture);
new Microsoft.Extensions.Localization.ResourceManagerWithCultureStringLocalizer : System.Resources.ResourceManager * System.Reflection.Assembly * string * Microsoft.Extensions.Localization.IResourceNamesCache * System.Globalization.CultureInfo -> Microsoft.Extensions.Localization.ResourceManagerWithCultureStringLocalizer
Public Sub New (resourceManager As ResourceManager, resourceAssembly As Assembly, baseName As String, resourceNamesCache As IResourceNamesCache, culture As CultureInfo)
Parameters
- resourceManager
- ResourceManager
The ResourceManager to read strings from.
- baseName
- String
The base name of the embedded resource that contains the strings.
- resourceNamesCache
- IResourceNamesCache
Cache of the list of strings for a given resource assembly name.
- culture
- CultureInfo
The specific CultureInfo to use.
Applies to
ResourceManagerWithCultureStringLocalizer(ResourceManager, Assembly, String, IResourceNamesCache, CultureInfo, ILogger)
Creates a new ResourceManagerWithCultureStringLocalizer.
public:
ResourceManagerWithCultureStringLocalizer(System::Resources::ResourceManager ^ resourceManager, System::Reflection::Assembly ^ resourceAssembly, System::String ^ baseName, Microsoft::Extensions::Localization::IResourceNamesCache ^ resourceNamesCache, System::Globalization::CultureInfo ^ culture, Microsoft::Extensions::Logging::ILogger ^ logger);
public ResourceManagerWithCultureStringLocalizer (System.Resources.ResourceManager resourceManager, System.Reflection.Assembly resourceAssembly, string baseName, Microsoft.Extensions.Localization.IResourceNamesCache resourceNamesCache, System.Globalization.CultureInfo culture, Microsoft.Extensions.Logging.ILogger logger);
new Microsoft.Extensions.Localization.ResourceManagerWithCultureStringLocalizer : System.Resources.ResourceManager * System.Reflection.Assembly * string * Microsoft.Extensions.Localization.IResourceNamesCache * System.Globalization.CultureInfo * Microsoft.Extensions.Logging.ILogger -> Microsoft.Extensions.Localization.ResourceManagerWithCultureStringLocalizer
Public Sub New (resourceManager As ResourceManager, resourceAssembly As Assembly, baseName As String, resourceNamesCache As IResourceNamesCache, culture As CultureInfo, logger As ILogger)
Parameters
- resourceManager
- ResourceManager
The ResourceManager to read strings from.
- baseName
- String
The base name of the embedded resource that contains the strings.
- resourceNamesCache
- IResourceNamesCache
Cache of the list of strings for a given resource assembly name.
- culture
- CultureInfo
The specific CultureInfo to use.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for