c# - Which resx file is accessed? -
is the line of the following code in a DLL library used by an MVC application:
AccountResource.ResourceManager.GetString ("key") But I have several resource files about which one of the N * .resx files about each page of the website I searched for Will it be the specified key?
You are reaching AccountResource.resx . .ResourceManager is a stable property of AccountResource , returning a ResourceManager example. Try hovering over the property, you will see it in Tooltip: The Cached Resource Manager used by this class gives example.
Comments
Post a Comment