示例#1
0
 public SendGridEmailService(IOptions <EmailServiceOptions> emailServiceOptions, ILogger <EmailService> logger)
 {
     _emailServiceOptions = emailServiceOptions.Value;
     _logger = logger;
 }
 public EmailService(IOptions <EmailServiceOptions> emailServiceOptions)
 {
     _emailServiceOptions = emailServiceOptions.Value;
 }
 public SendGridEmailService(EmailServiceOptions emailServiceOptions, ILogger <EmailService> logger)
 {
     _emailServiceOptions = emailServiceOptions;
     _logger = logger;
 }
示例#4
0
 public EmailService(IOptions <EmailServiceOptions> options)
 {
     this.options = options.Value;
 }