예제 #1
0
 public EmailSender(IOptions <EmailOptions> options)
 {
     emailOptions = options.Value;
 }
예제 #2
0
 public IEmailSend(IOptions <EmailOptions> emailoptions)
 {
     Options = emailoptions.Value;
 }