C#C
C#4y ago
Poller

AddHostedService Implementation choosen on startup

I was fiddling around with a solution to add 1 HostedService, depending on a enum value(config setting). but i was wondering if there is a better solution than just a bet switch statement?
Was this page helpful?