Пример #1
0
 protected SenderBase(
     ISenderConfigurationRepository senderConfigurationRepository,
     IEnumerable <ITemplateApplicator> templateApplicators,
     ISenderRequestValidator senderRequestValidator)
 {
     _senderConfigurationRepository = senderConfigurationRepository;
     _templateApplicators           = templateApplicators;
     _senderRequestValidator        = senderRequestValidator;
 }
Пример #2
0
 public Sender(
     ILogger <Sender> logger,
     ISendGridClient client,
     ISenderConfigurationRepository senderConfigurationRepository,
     IEnumerable <ITemplateApplicator> templateApplicators,
     ISenderRequestValidator senderRequestValidator)
     : base(senderConfigurationRepository, templateApplicators, senderRequestValidator)
 {
     _logger = logger;
     _client = client;
 }