コード例 #1
0
            public Handler(IOptions <AwsSqsSettings> awsSqsSettingsOptions, IOptions <ServiceSettings> serviceSettingsOptions, ILogger logger)
            {
                _awsSqsSettingsOptions = awsSqsSettingsOptions.Value;
                _serviceSettings       = serviceSettingsOptions.Value;

                _logger = logger;
            }
コード例 #2
0
            public Handler(IOptions <AwsSqsSettings> awsSqsSettingsOptions, IOptions <MessagesSettings> messageSettingsOptions, ILogger logger, IMediator mediator)
            {
                _awsSqsSettingsOptions = awsSqsSettingsOptions.Value;
                _messageSettings       = messageSettingsOptions.Value;

                _logger = logger;

                _mediator = mediator;
            }