-
-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Describe the feature you would like to have:
Currently, a scheduled job can be added without any IServiceProvider
access. This can be rather tedious as when registering an UnobservedTaskExceptionHandler
, one might want to use the registered ILogger<>
instead.
In the sample app in this repo, we see the same problem recurring.
A possible way, is to add an overload that takes in Action<SchedulerBuilder, IServiceProvider>
or something like that, so the configuration can access the IServiceProvider
and the registered services.
Metadata
Metadata
Assignees
Labels
No labels