icsharp / Hangfire.RecurringJobExtensions

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

Re-encapsulation and upgrade .Net Standard #8

Open yuessir opened 6 years ago

yuessir commented 6 years ago

--With encapsulation of the the interface ScheduleJobManager, which support DI. Like following:

  await _scheduleJobManager.ExecuteScheduleAsync<SimpleJob, SimpleJobArgs1>(args1);
  await _scheduleJobManager.ExecuteBackgroundJobAsync<SimpleJobService, SimpleDto>(null, new TimeSpan(0, 0, 5, 0), args1);