Skip to content

Dependency Injection Freezes Startup of Application #2152

Answered by lahma
Spaxterr asked this question in Q&A
Discussion options

You must be logged in to vote

You need to inject ISchedulerFactory and then resolve the IScheduler when needed (outside of constructor) with var scheduler = await schedulerFactory.GetScheduler().

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Spaxterr
Comment options

@lahma
Comment options

@Spaxterr
Comment options

@lahma
Comment options

Answer selected by Spaxterr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants