How to use it?
Quartz.LightCore supplies Quartz with a new JobFacotry that
will resolve the needed jobs using LightCore.
Simply start out by configuring the LightCore-container as usual, then
use the UseLightCoreResolverJobFacotry-extension of the scheduler and supply the LightCore-container.
This will set up the Quartz scheduler to use the new JobFacotry and resolve new jobs using LightCore.
Example:
// setup LightCore
var builder = new ContainerBuilder();
/* some fancy setup here */
var container = builder.Build();
// setup Quartz
var scheduler = await new StdSchedulerFactory().GetScheduler().UseLightCoreResolverJobFacotry(container);
scheduler.ScheduleJob(
JobBuilder.Create().Build(),
TriggerBuilder.Create().StartNow().Build());