© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
Sygmond

❔ IStringLocalizer with a GenericClass T in Resource filename

I'm using
Microsoft.Extensions.Localization.IStringLocalizer
Microsoft.Extensions.Localization.IStringLocalizer
to localize my strings via Resources and I can't find a way to use
IStringLocalizer<GenericClass<T>>
IStringLocalizer<GenericClass<T>>
. The
<T>
<T>
seems to be the problem. I can't name my resource files
GenericClass<T>
GenericClass<T>
...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ XDG0031 can't find resource in assembly
C#CC# / help
3y ago
Cmd File can´t run on Process.Start(Filename);
C#CC# / help
11mo ago
MSBuild: Excluding objects if %(Filename) matches any in ItemGroup
C#CC# / help
5mo ago
Resource based authorization with Identity
C#CC# / help
2y ago