Open yuessir opened 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);
--With encapsulation of the the interface ScheduleJobManager, which support DI. Like following: