public NotificationHandlerService( ILogger <NotificationHandlerService> logger, IOptions <NotificationSenderRabbitMqOptions> opts) { this.logger = logger; this.opts = opts.Value; cts = new CancellationTokenSource(); }
public NotificationSenderRabbitMq(IOptions <NotificationSenderRabbitMqOptions> opts) { this.opts = opts.Value; }