public QueueHealthCheck(IOptionsSnapshot <QueueHealthCheckOptions> optionsSnapshot,
                         IServiceBusManagementClientFactory managementClientFactory,
                         IEnumerable <IQueueRule> queueRules)
     : base(optionsSnapshot, managementClientFactory)
 {
     _queueRules = queueRules ?? throw new ArgumentNullException(nameof(queueRules));
 }
Esempio n. 2
0
 public SubscriptionHealthCheck(IOptionsSnapshot <SubscriptionHealthCheckOptions> optionsSnapshot,
                                IServiceBusManagementClientFactory managementClientFactory,
                                IEnumerable <ISubscriptionRule> subscriptionRules)
     : base(optionsSnapshot, managementClientFactory)
 {
     _subscriptionRules = subscriptionRules ?? throw new ArgumentNullException(nameof(subscriptionRules));
 }
 public TopicHealthCheck(IOptionsSnapshot <TopicHealthCheckOptions> optionsSnapshot,
                         IServiceBusManagementClientFactory managementClientFactory,
                         IEnumerable <ITopicRule> topicRules)
     : base(optionsSnapshot, managementClientFactory)
 {
     _topicRules = topicRules ?? throw new ArgumentNullException(nameof(topicRules));
 }
Esempio n. 4
0
 public HealthCheckBase(IOptionsSnapshot <T> optionsSnapshot, IServiceBusManagementClientFactory managementClientFactory)
 {
     _optionsSnapshot         = optionsSnapshot ?? throw new ArgumentNullException(nameof(optionsSnapshot));
     _managementClientFactory = managementClientFactory ?? throw new ArgumentNullException(nameof(managementClientFactory));
 }