public Task ReloadAsync(EmailSenderConfig config) { this._config = config; return(this.CreateClientAsync(true)); }
public TemplatedEmailSender(IOptions <EmailSenderConfig> config, IHttpContextAccessor accessor, LinkGenerator generator) { this._config = config.Value; this._accessor = accessor; this._generator = generator; }