public Handler(IOptions <AwsSqsSettings> awsSqsSettingsOptions, IOptions <ServiceSettings> serviceSettingsOptions, ILogger logger) { _awsSqsSettingsOptions = awsSqsSettingsOptions.Value; _serviceSettings = serviceSettingsOptions.Value; _logger = logger; }
public Handler(IOptions <AwsSqsSettings> awsSqsSettingsOptions, IOptions <MessagesSettings> messageSettingsOptions, ILogger logger, IMediator mediator) { _awsSqsSettingsOptions = awsSqsSettingsOptions.Value; _messageSettings = messageSettingsOptions.Value; _logger = logger; _mediator = mediator; }