when you create the resx files?
yea for the resx files they will get source generated. but then you lose the dependency injection for localization
yeah but the question is if that even makes sense in that case
i spontaneously see no point in injecting Test.resx into Test.cs other than that the localisation source might change in the future
why would you, in the sense that if you declare a resource file for language and put there in a cultureinfo-dependent singleton it should work i believe you would need to extract an interface from it tho, in the sense that it wouldn't be entirely automatic
Обсуждают сегодня