/// <summary> /// Initializes a new instance of the <see cref="NotificationSettingsService"/> class. /// </summary> /// <param name="logger">The injected logger provider.</param> /// <param name="jobClient">The JobScheduler queue client.</param> /// <param name="notificationSettingsDelegate">Notification Settings delegate to be used.</param> /// <param name="userDelegateDelegate">The injected db user delegate delegate.</param> public NotificationSettingsService( ILogger <NotificationSettingsService> logger, IBackgroundJobClient jobClient, INotificationSettingsDelegate notificationSettingsDelegate, IUserDelegateDelegate userDelegateDelegate) { this.logger = logger; this.jobClient = jobClient; this.notificationSettingsDelegate = notificationSettingsDelegate; this.userDelegateDelegate = userDelegateDelegate; }
/// <summary> /// Initializes a new instance of the <see cref="DependentService"/> class. /// </summary> /// <param name="logger">Injected Logger Provider.</param> /// <param name="userProfileDelegate">The profile delegate to interact with the DB.</param> /// <param name="patientService">The injected patient registry provider.</param> /// <param name="notificationSettingsService">Notification settings service.</param> /// <param name="userDelegateDelegate">The User Delegate delegate to interact with the DB.</param> public DependentService( ILogger <DependentService> logger, IUserProfileDelegate userProfileDelegate, IPatientService patientService, INotificationSettingsService notificationSettingsService, IUserDelegateDelegate userDelegateDelegate) { this.logger = logger; this.patientService = patientService; this.userDelegateDelegate = userDelegateDelegate; this.notificationSettingsService = notificationSettingsService; this.userProfileDelegate = userProfileDelegate; }