Пример #1
0
 public NotificationsService(IQueueCommunicator queueCommunicator,
                             ISendEmailCommandHandler handler,
                             HttpClient httpClient,
                             IOptions <NotificationsApiSettings> notificationsApiSettings)
 {
     _queueCommunicator        = queueCommunicator;
     _handler                  = handler;
     _httpClient               = httpClient;
     _notificationsApiSettings = notificationsApiSettings.Value;
 }
 public HomeController(ILogger <HomeController> logger, IQueueCommunicator queueCommunicator)
 {
     _logger            = logger;
     _queueCommunicator = queueCommunicator;
 }
Пример #3
0
 public HomeController(IQueueCommunicator communicator)
 {
     this.communicator = communicator;
 }
Пример #4
0
 public TestController(IQueueCommunicator queueCommunicator)
 {
     _queueCommunicator = queueCommunicator;
 }