コード例 #1
0
 public Functions(
     StorageOptions storageOptions,
     IEventLogger customLogger,
     [KeyFilter(Filenames.BadSicLog)] IAuditLogger badSicLog,
     [KeyFilter(Filenames.ManualChangeLog)] IAuditLogger manualChangeLog,
     IMessenger messenger,
     ISharedBusinessLogic sharedBusinessLogic,
     ISearchRepository <EmployerSearchModel> employerSearchRepository,
     ISearchRepository <SicCodeSearchModel> sicCodeSearchRepository,
     ISubmissionBusinessLogic submissionBusinessLogic,
     IOrganisationBusinessLogic organisationBusinessLogic,
     ISearchBusinessLogic searchBusinessLogic,
     IGovNotifyAPI govNotifyApi,
     UpdateFromCompaniesHouseService updateFromCompaniesHouseService,
     IAuthorisationBusinessLogic authorisationBusinessLogic)
 {
     _StorageOptions                  = storageOptions;
     _CustomLogger                    = customLogger;
     _BadSicLog                       = badSicLog;
     _ManualChangeLog                 = manualChangeLog;
     _Messenger                       = messenger;
     _SharedBusinessLogic             = sharedBusinessLogic;
     _EmployerSearchRepository        = employerSearchRepository;
     _SicCodeSearchRepository         = sicCodeSearchRepository;
     _SubmissionBusinessLogic         = submissionBusinessLogic;
     _OrganisationBusinessLogic       = organisationBusinessLogic;
     SearchBusinessLogic              = searchBusinessLogic;
     _updateFromCompaniesHouseService = updateFromCompaniesHouseService;
     _authorisationBusinessLogic      = authorisationBusinessLogic;
     this.govNotifyApi                = govNotifyApi;
 }
コード例 #2
0
 public EmailSendingService(
     IGovNotifyAPI govNotifyApi,
     IBackgroundJobsApi backgroundJobsApi)
 {
     this.govNotifyApi      = govNotifyApi;
     this.backgroundJobsApi = backgroundJobsApi;
 }
コード例 #3
0
 public PinInThePostService(
     SharedOptions sharedOptions,
     IEventLogger customLogger,
     IGovNotifyAPI govNotifyApi)
 {
     SharedOptions     = sharedOptions;
     CustomLogger      = customLogger;
     this.govNotifyApi = govNotifyApi;
 }
コード例 #4
0
 public PinInThePostService(IGovNotifyAPI govNotifyApi)
 {
     this.govNotifyApi = govNotifyApi;
 }