コード例 #1
0
 /// <summary>
 /// Instantiate the <see cref="SendGridProvider"/>
 /// </summary>
 /// <param name="sendGridOptions">The options for this provider</param>
 /// <param name="loggerFactory">The logger factory</param>
 public SendGridProvider(IOptions <SendGridOptions> sendGridOptions, ILoggerFactory loggerFactory)
     : base(sendGridOptions.Value, loggerFactory)
 {
     _sendGridOptions = sendGridOptions.Value;
 }
コード例 #2
0
 /// <summary>
 /// Instantiate the <see cref="SendGridProvider"/>
 /// </summary>
 /// <param name="sendGridOptions">The options for this provider</param>
 /// <param name="loggerFactory">The logger factory</param>
 public SendGridProvider(SendGridOptions sendGridOptions, ILoggerFactory loggerFactory)
     : base(sendGridOptions, loggerFactory)
 {
     _sendGridOptions = sendGridOptions;
 }