Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

ResourceManagerStringLocalizer should cache GetEnumerator result #15

@DamianEdwards

Description

@DamianEdwards

Every call to ResourceManagerStringLocalizer.GetEnumerator walks the specified CultureInfo hierarchy to build out a full set of resource names, before calling ResourceManager.GetString for every resource name. Given that resources are only loaded once by ResourceManager we should cache at least the culture walk, and probably the entire enumeration result, per culture.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions