예제 #1
0
 public AzureQueueService(
     IOptions <AzureQueueOptions> azureQueueOptions,
     IAzureQueueResolver azureQueueResolver)
 {
     _azureQueueOptions  = azureQueueOptions.Value;
     _azureQueueResolver = azureQueueResolver;
 }
 public AzureQueueResolver(
     IOptions <AzureQueueOptions> azureQueueOptions,
     IEnumerable <IAzureQueueClient> azureQueueClients)
 {
     _azureQueueOptions = azureQueueOptions.Value;
     _azureQueueClients = azureQueueClients.ToDictionary(x => x.Name, StringComparer.OrdinalIgnoreCase);
 }
 public CreateQueuesEvent(
     IOptions <AzureQueueOptions> options,
     IEnumerable <IAzureQueueClient> azureQueueClients,
     ShellSettings shellSettings,
     ILogger <CreateQueuesEvent> logger
     )
 {
     _options           = options.Value;
     _azureQueueClients = azureQueueClients;
     _shellSettings     = shellSettings;
     _logger            = logger;
 }