Class SchedulerService
- Namespace
- adas_core.Application.Services
- Assembly
- adas-core.Application.dll
Provides scheduling functionality as a service to manage and coordinate timed or periodic operations.
public class SchedulerService
- Inheritance
-
SchedulerService
- Inherited Members
- Extension Methods
Constructors
SchedulerService(IOptions<ApiSettings>, IOptions<List<ProvidersSettings>>, Lazy<IPatientService>, Lazy<ITreatmentService>, Lazy<IAppointmentService>, Lazy<IDiagnosisService>, Lazy<IMedicineService>, Lazy<IObservationService>, Lazy<IConfigObservationService>, ILogger<SchedulerService>, IHttpClientFactory, Lazy<ICalculatedObservationsService>, Lazy<IPatientCarePlanService>)
Initializes a new instance of the SchedulerService class, assigning its dependencies and loading scheduler intervals and activation flags from the supplied application settings.
public SchedulerService(IOptions<ApiSettings> apiSettings, IOptions<List<ProvidersSettings>> providersSettings, Lazy<IPatientService> patientService, Lazy<ITreatmentService> treatmentService, Lazy<IAppointmentService> appointmentService, Lazy<IDiagnosisService> diagnosisService, Lazy<IMedicineService> medicineService, Lazy<IObservationService> observationService, Lazy<IConfigObservationService> configObservationService, ILogger<SchedulerService> logger, IHttpClientFactory httpClientFactory, Lazy<ICalculatedObservationsService> calculatedObservationsService, Lazy<IPatientCarePlanService> patientProcedureService)
Parameters
apiSettingsIOptions<ApiSettings>Application configuration providing scheduler intervals, activation flags, and archival thresholds.
providersSettingsIOptions<List<ProvidersSettings>>Configuration describing the external providers whose observations are retrieved.
patientServiceLazy<IPatientService>Lazy provider of patient data operations.
treatmentServiceLazy<ITreatmentService>Lazy provider of treatment data operations.
appointmentServiceLazy<IAppointmentService>Lazy provider of appointment data operations.
diagnosisServiceLazy<IDiagnosisService>Lazy provider of diagnosis data operations.
medicineServiceLazy<IMedicineService>Lazy provider of medicine data operations.
observationServiceLazy<IObservationService>Lazy provider of observation data operations.
configObservationServiceLazy<IConfigObservationService>Lazy provider of observation configuration operations.
loggerILogger<SchedulerService>Logger used to record scheduler activity and diagnostics.
httpClientFactoryIHttpClientFactoryFactory used to create HTTP clients for provider integrations.
calculatedObservationsServiceLazy<ICalculatedObservationsService>Lazy provider of calculated observations operations.
patientProcedureServiceLazy<IPatientCarePlanService>Lazy provider of patient care plan operations.