public static WardenConfiguration.Builder AddAzureServiceBusWatcher(this WardenConfiguration.Builder builder, string name,
                                                                     string connectionString, Action <WatcherHooksConfiguration.Builder> hooks = null, TimeSpan?interval = null,
                                                                     string group = null)
 {
     builder.AddWatcher(AzureServiceBusWatcher.Create(name, connectionString, @group: group), hooks, interval);
     return(builder);
 }
Ejemplo n.º 2
0
 public static AzureServiceBusWatcherCheckResult Create(AzureServiceBusWatcher watcher, bool isValid,
                                                        NamespaceManager namespaceManager, string description = "")
 => new AzureServiceBusWatcherCheckResult(watcher, isValid, description, namespaceManager);
Ejemplo n.º 3
0
 public AzureServiceBusWatcherCheckResult(AzureServiceBusWatcher watcher, bool isValid, string description, NamespaceManager namespaceManager) : base(watcher, isValid, description)
 {
     NamespaceManager = namespaceManager;
 }