コード例 #1
0
 public EmailService(EmailSettings settings)
 {
     _settings = settings;
 }
コード例 #2
0
 public EmailService(IOptions <EmailSettings> settings)
 {
     _settings = settings.Value;
 }