1 instantiation of AzureMessagingServiceBusSettings
Aspire.Azure.Messaging.ServiceBus.Tests (1)
AzureMessagingServiceBusSettingsTests.cs (1)
20
Assert.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>
37
Action<
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>
55
Action<
AzureMessagingServiceBusSettings
>? configureSettings = null,
63
private sealed class MessageBusComponent : AzureComponent<
AzureMessagingServiceBusSettings
, ServiceBusClient, ServiceBusClientOptions>
66
AzureClientFactoryBuilder azureFactoryBuilder,
AzureMessagingServiceBusSettings
settings,
83
protected override IHealthCheck CreateHealthCheck(ServiceBusClient client,
AzureMessagingServiceBusSettings
settings)
105
protected override void BindSettingsToConfiguration(
AzureMessagingServiceBusSettings
settings, IConfiguration config)
110
protected override bool GetHealthCheckEnabled(
AzureMessagingServiceBusSettings
settings)
113
protected override TokenCredential? GetTokenCredential(
AzureMessagingServiceBusSettings
settings)
116
protected override bool GetMetricsEnabled(
AzureMessagingServiceBusSettings
settings)
119
protected 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)
13
public 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);
69
protected override void RegisterComponent(HostApplicationBuilder builder, Action<
AzureMessagingServiceBusSettings
>? configure = null, string? key = null)
80
void ConfigureCredentials(
AzureMessagingServiceBusSettings
settings)
90
protected override void SetMetrics(
AzureMessagingServiceBusSettings
options, bool enabled)
93
protected override void SetTracing(
AzureMessagingServiceBusSettings
options, bool enabled)
ConformanceTests_Queue.cs (2)
25
new(CreateConfigKey("Aspire:Azure:Messaging:ServiceBus", key, nameof(
AzureMessagingServiceBusSettings
.HealthCheckQueueName)), HealthCheckQueueName),
29
protected override void SetHealthCheck(
AzureMessagingServiceBusSettings
options, bool enabled)
ConformanceTests_Topic.cs (2)
26
new(CreateConfigKey("Aspire:Azure:Messaging:ServiceBus", key, nameof(
AzureMessagingServiceBusSettings
.HealthCheckTopicName)), HealthCheckTopicName),
30
protected override void SetHealthCheck(
AzureMessagingServiceBusSettings
options, bool enabled)