Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency injection on IJob #3

Closed
ngvtien opened this issue Jan 22, 2019 · 2 comments
Closed

Dependency injection on IJob #3

ngvtien opened this issue Jan 22, 2019 · 2 comments

Comments

@ngvtien
Copy link

ngvtien commented Jan 22, 2019

Can you possibly give an example of how to make use of IoC inside a job? eg passing dependency in the job constructor.

Cheers,
Tien

@jlucansky
Copy link
Owner

Hi, you can configure custom ISchedulerFactory which is not specific to Quartzmin or pass custom object via Scheduler.Context

@ngvtien
Copy link
Author

ngvtien commented Feb 12, 2019

Sure, too easy!
Cheers

@ngvtien ngvtien closed this as completed Feb 12, 2019
zdomokos pushed a commit to zdomokos/Quartzmin that referenced this issue Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants