public ImageService(IBlobStorageService blobStorageService, IQueueStorageService queueStorageService) { _blobStorageService = blobStorageService ?? throw new ArgumentNullException($"The {nameof(blobStorageService)} can not be null."); _queueStorageService = queueStorageService ?? throw new ArgumentNullException($"The {nameof(queueStorageService)} can not be null."); //var azureStorageTarget = (AzureTableStorageTarget)LogManager.Configuration.FindTargetByName("AzureTableStorage"); //azureStorageTarget.ConnectionString = connection; //LogManager.ReconfigExistingLoggers(); _logger = LogManager.GetCurrentClassLogger(); }
public ImageService(IBlobStorageService blobStorageService, IQueueStorageService queueStorageService) { _blobStorageService = blobStorageService ?? throw new ArgumentNullException(nameof(blobStorageService)); _queueStorageService = queueStorageService ?? throw new ArgumentNullException(nameof(queueStorageService)); _logger = LogManager.GetCurrentClassLogger(); }
public TimerFunction( IQueueStorageService service ) { _service = service; }
public NotifyVolunteersHandler(IQueueStorageService storageService) { _storageService = storageService; }
public NotificationsService(ITableStorageService tableStorageService, IQueueStorageService queueStorageService) { this.tableStorageService = tableStorageService; this.queueStorageService = queueStorageService; }
public AuthMessageSender(IMediator mediator, IQueueStorageService storageService) { _mediator = mediator; _storageService = storageService; }
public QueueController(IHubContext <QueueNotificationsHub, IQueueNotificationsHub> hubContext, IQueueStorageService queueService) { _queueService = queueService; _hubContext = hubContext; }
public PictureController(ITableStorageRepository <UserPicture> tableStorageRepository, IBlobStorageRepository blobStorageRepository, IQueueStorageService queueStorageSevice) { _tableStorageRepository = tableStorageRepository; _blobStorageRepository = blobStorageRepository; _queueStorageSevice = queueStorageSevice; }