icsharp / Hangfire.RecurringJobExtensions

Extensions for Hangfire to build RecurringJob automatically
MIT License
181 stars 36 forks source link

DependencyInjection inside Job #6

Open smakrem opened 6 years ago

smakrem commented 6 years ago

Hello No way to use depency injection inside a job ? ,because IRecurringJob must declare a public prameterless constructor

Thanks

icsharp commented 6 years ago

@smakrem yup, the idea/rule is using IRecurringJob to impl the job with DI.