fglaeser / Quartz.Extensions.DependencyInjection

Helper to register Quartz Scheduler and Jobs into the .NET Core dependency injection container.
MIT License
10 stars 1 forks source link

Documentation is out of date #8

Open kevingy opened 3 years ago

kevingy commented 3 years ago

The readme.md on the home page for this project says:

s.AddQuartz()
    .AddJob<MyJob>(); //You can add all the jobs you need in a fluent way

Doing so results in:

error CS0121: The call is ambiguous between the following methods or properties: 'ServiceCollectionExtensions.AddJob<T>(IServiceCollectionQuartzConfigurator, Action<IJobConfigurator>?)' and 'ServiceCollectionExtensions.AddJob<T>(IServiceCollectionQuartzConfigurator, JobKey?, Action<IJobConfigurator>?)'

Perhaps a default constructor was removed?

fglaeser commented 3 years ago

Hi @kevingy, this project is now part of the official Quartz.Net, and this repo is not longer maintained, (I have to put some message in the Readme, sorry about that.). You shoud follow the official quartz documentation, because you will find some differences between versions. Regards, Facundo