/// <summary>
 /// Initializes a new instance of the <see cref="UserProfileService"/> class.
 /// </summary>
 /// <param name="logger">Injected Logger Provider.</param>
 /// <param name="userProfileDelegate">The profile delegate to interact with the DB.</param>
 /// <param name="userPreferenceDelegate">The preference delegate to interact with the DB.</param>
 /// <param name="emailDelegate">The email delegate to interact with the DB.</param>
 /// <param name="emailInviteDelegate">The email invite delegate to interact with the DB.</param>
 /// <param name="configuration">The configuration service.</param>
 /// <param name="emailQueueService">The email service to queue emails.</param>
 /// <param name="legalAgreementDelegate">The terms of service delegate.</param>
 /// <param name="cryptoDelegate">Injected Crypto delegate.</param>
 /// <param name="notificationSettingsService">Notification settings delegate.</param>
 /// <param name="messageVerificationDelegate">The message verification delegate to interact with the DB.</param>
 /// <param name="patientService">The patient service.</param>
 public UserProfileService(
     ILogger <UserProfileService> logger,
     IUserProfileDelegate userProfileDelegate,
     IUserPreferenceDelegate userPreferenceDelegate,
     IEmailDelegate emailDelegate,
     IMessagingVerificationDelegate emailInviteDelegate,
     IConfigurationService configuration,
     IEmailQueueService emailQueueService,
     ILegalAgreementDelegate legalAgreementDelegate,
     ICryptoDelegate cryptoDelegate,
     INotificationSettingsService notificationSettingsService,
     IMessagingVerificationDelegate messageVerificationDelegate,
     IPatientService patientService)
 {
     this.logger = logger;
     this.userProfileDelegate         = userProfileDelegate;
     this.userPreferenceDelegate      = userPreferenceDelegate;
     this.emailDelegate               = emailDelegate;
     this.emailInviteDelegate         = emailInviteDelegate;
     this.configurationService        = configuration;
     this.emailQueueService           = emailQueueService;
     this.legalAgreementDelegate      = legalAgreementDelegate;
     this.cryptoDelegate              = cryptoDelegate;
     this.notificationSettingsService = notificationSettingsService;
     this.messageVerificationDelegate = messageVerificationDelegate;
     this.patientService              = patientService;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserProfileService"/> class.
 /// </summary>
 /// <param name="logger">Injected Logger Provider.</param>
 /// <param name="patientService">The patient service.</param>
 /// <param name="userEmailService">The User Email service.</param>
 /// <param name="userSMSService">The User SMS service.</param>
 /// <param name="configurationService">The configuration service.</param>
 /// <param name="emailQueueService">The email service to queue emails.</param>
 /// <param name="notificationSettingsService">The Notifications Settings service.</param>
 /// <param name="userProfileDelegate">The profile delegate to interact with the DB.</param>
 /// <param name="userPreferenceDelegate">The preference delegate to interact with the DB.</param>
 /// <param name="legalAgreementDelegate">The terms of service delegate.</param>
 /// <param name="messageVerificationDelegate">The message verification delegate.</param>
 /// <param name="cryptoDelegate">Injected Crypto delegate.</param>
 /// <param name="httpContextAccessor">The injected http context accessor provider.</param>
 public UserProfileService(
     ILogger <UserProfileService> logger,
     IPatientService patientService,
     IUserEmailService userEmailService,
     IUserSMSService userSMSService,
     IConfigurationService configurationService,
     IEmailQueueService emailQueueService,
     INotificationSettingsService notificationSettingsService,
     IUserProfileDelegate userProfileDelegate,
     IUserPreferenceDelegate userPreferenceDelegate,
     ILegalAgreementDelegate legalAgreementDelegate,
     IMessagingVerificationDelegate messageVerificationDelegate,
     ICryptoDelegate cryptoDelegate,
     IHttpContextAccessor httpContextAccessor)
 {
     this.logger                      = logger;
     this.patientService              = patientService;
     this.userEmailService            = userEmailService;
     this.userSMSService              = userSMSService;
     this.configurationService        = configurationService;
     this.emailQueueService           = emailQueueService;
     this.notificationSettingsService = notificationSettingsService;
     this.userProfileDelegate         = userProfileDelegate;
     this.userPreferenceDelegate      = userPreferenceDelegate;
     this.legalAgreementDelegate      = legalAgreementDelegate;
     this.messageVerificationDelegate = messageVerificationDelegate;
     this.cryptoDelegate              = cryptoDelegate;
     this.httpContextAccessor         = httpContextAccessor;
 }