Похожие чаты

Doesn'T the resx.Generated.cs or whatever it's named generate for you

when you create the resx files?

4 ответов

3 просмотра

yea for the resx files they will get source generated. but then you lose the dependency injection for localization

Joana- Автор вопроса
Balte
yea for the resx files they will get source genera...

yeah but the question is if that even makes sense in that case

Joana- Автор вопроса
Joana
yeah but the question is if that even makes sense ...

i spontaneously see no point in injecting Test.resx into Test.cs other than that the localisation source might change in the future

Balte
yea for the resx files they will get source genera...

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

Похожие вопросы

Обсуждают сегодня

лучше скажите, причём тут паскаль?
Alexey Kulakov
36
Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
@marycamacho @NATHANLENAE @popachubby It was said that HOT will be used for hosting payments. But HOT is ERC20 based. So slow and high paying. The ERC network does not seem ve...
Aragorn
14
Добрый вечер. Хочу чтобы у меня в классе поле было функцией, которая возвращает строку. Делаю так: interface ... TGetOutPath = function : String of object; ... protec...
Kirill Filippenok
12
Another way to think about it is like this: let's say we sell $100m of FXB2029 and another $100m of FXB2055 and we buy $200m of ETH with it. Do you think that ETH price will b...
Sam Kazemian ¤⛓️¤
20
Bitcoin will probably halt around here somewhere to let alts push a bit?
Neo Smitty
16
Это может быть все-таки не флудвейт? у меня ботфазер принимает изменения и отображает даже что они изменились, на видео видно что он прислал якобы уже измененное описание, н...
OVERLINK
13
Hello guys! With whom i can talk about nodes?
Moon
17
Say them all. Bitcoin > $91000 means there is no more altcoin. Institutions will buy only Bitcoin. But for a regular human, Bitcoin is a risky asset since it can be easily b...
Rr3ttt5
5
Нет ничего более бессмысленного, чем рассуждать о нынешней американской политике, пытаясь запихнуть ее в категории "правого" и "левого" старого образца. Ибо эти понятия нынче ...
Foxcool
1
Карта сайта