Esempio n. 1
0
 public MailSenderService(IConfiguration confg,
                          ILoggerFactory loggerFactory, IServiceProvider services, MailQueue mailQueue)
 {
     _confg     = confg;
     _mailQueue = mailQueue;
     Services   = services;
     _logger    = loggerFactory.CreateLogger <MailSenderService>();
 }
Esempio n. 2
0
 public ProplemReporting(ILogger <ProplemReporting> logger, IConfiguration config, Emergency emergency, MailQueue mailQueue)
 {
     _config    = config;
     _emergency = emergency;
     _logger    = logger;
 }