1 instantiation of AzureMessagingServiceBusSettings
Aspire.Azure.Messaging.ServiceBus.Tests (1)
AzureMessagingServiceBusSettingsTests.cs (1)
20Assert.Equal(expectedValue, new AzureMessagingServiceBusSettings().DisableTracing);
28 references to AzureMessagingServiceBusSettings
Aspire.Azure.Messaging.ServiceBus (17)
AspireServiceBusExtensions.cs (16)
30/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="AzureMessagingServiceBusSettings"/>. It's invoked after the settings are read from the configuration.</param> 33/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingServiceBusSettings.ConnectionString"/> nor <see cref="AzureMessagingServiceBusSettings.FullyQualifiedNamespace"/> is provided.</exception> 37Action<AzureMessagingServiceBusSettings>? configureSettings = null, 48/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="AzureMessagingServiceBusSettings"/>. It's invoked after the settings are read from the configuration.</param> 51/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingServiceBusSettings.ConnectionString"/> nor <see cref="AzureMessagingServiceBusSettings.FullyQualifiedNamespace"/> is provided.</exception> 55Action<AzureMessagingServiceBusSettings>? configureSettings = null, 63private sealed class MessageBusComponent : AzureComponent<AzureMessagingServiceBusSettings, ServiceBusClient, ServiceBusClientOptions> 66AzureClientFactoryBuilder azureFactoryBuilder, AzureMessagingServiceBusSettings settings, 83protected override IHealthCheck CreateHealthCheck(ServiceBusClient client, AzureMessagingServiceBusSettings settings) 105protected override void BindSettingsToConfiguration(AzureMessagingServiceBusSettings settings, IConfiguration config) 110protected override bool GetHealthCheckEnabled(AzureMessagingServiceBusSettings settings) 113protected override TokenCredential? GetTokenCredential(AzureMessagingServiceBusSettings settings) 116protected override bool GetMetricsEnabled(AzureMessagingServiceBusSettings settings) 119protected override bool GetTracingEnabled(AzureMessagingServiceBusSettings settings)
AssemblyInfo.cs (1)
8[assembly: ConfigurationSchema("Aspire:Azure:Messaging:ServiceBus", typeof(AzureMessagingServiceBusSettings))]
Aspire.Azure.Messaging.ServiceBus.Tests (11)
ConformanceTests.cs (7)
13public abstract class ConformanceTests : ConformanceTests<ServiceBusClient, AzureMessagingServiceBusSettings> 66? new(CreateConfigKey("Aspire:Azure:Messaging:ServiceBus", key, nameof(AzureMessagingServiceBusSettings.FullyQualifiedNamespace)), FullyQualifiedNamespace) 67: new(CreateConfigKey("Aspire:Azure:Messaging:ServiceBus", key, nameof(AzureMessagingServiceBusSettings.ConnectionString)), ConnectionString); 69protected override void RegisterComponent(HostApplicationBuilder builder, Action<AzureMessagingServiceBusSettings>? configure = null, string? key = null) 80void ConfigureCredentials(AzureMessagingServiceBusSettings settings) 90protected override void SetMetrics(AzureMessagingServiceBusSettings options, bool enabled) 93protected override void SetTracing(AzureMessagingServiceBusSettings options, bool enabled)
ConformanceTests_Queue.cs (2)
25new(CreateConfigKey("Aspire:Azure:Messaging:ServiceBus", key, nameof(AzureMessagingServiceBusSettings.HealthCheckQueueName)), HealthCheckQueueName), 29protected override void SetHealthCheck(AzureMessagingServiceBusSettings options, bool enabled)
ConformanceTests_Topic.cs (2)
26new(CreateConfigKey("Aspire:Azure:Messaging:ServiceBus", key, nameof(AzureMessagingServiceBusSettings.HealthCheckTopicName)), HealthCheckTopicName), 30protected override void SetHealthCheck(AzureMessagingServiceBusSettings options, bool enabled)