3 writes to ConnectionString
Aspire.Azure.Messaging.EventHubs (1)
AzureMessagingEventHubsSettings.cs (1)
95ConnectionString = connectionString;
Aspire.Azure.Messaging.EventHubs.Tests (2)
AspireEventHubsExtensionsTests.cs (2)
390s_keyedClientAdders[clientIndex](builder, "eh", settings => settings.ConnectionString = EhConnectionString); 394s_clientAdders[clientIndex](builder, "eh", settings => settings.ConnectionString = EhConnectionString);
29 references to ConnectionString
Aspire.Azure.Messaging.EventHubs (29)
AspireEventHubsExtensions.cs (10)
29/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingEventHubsSettings.ConnectionString"/> nor <see cref="AzureMessagingEventHubsSettings.FullyQualifiedNamespace"/> is provided.</exception> 49/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingEventHubsSettings.ConnectionString"/> nor <see cref="AzureMessagingEventHubsSettings.FullyQualifiedNamespace"/> is provided.</exception> 71/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingEventHubsSettings.ConnectionString"/> nor <see cref="AzureMessagingEventHubsSettings.FullyQualifiedNamespace"/> is provided.</exception> 91/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingEventHubsSettings.ConnectionString"/> nor <see cref="AzureMessagingEventHubsSettings.FullyQualifiedNamespace"/> is provided.</exception> 113/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingEventHubsSettings.ConnectionString"/> nor <see cref="AzureMessagingEventHubsSettings.FullyQualifiedNamespace"/> is provided.</exception> 133/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingEventHubsSettings.ConnectionString"/> nor <see cref="AzureMessagingEventHubsSettings.FullyQualifiedNamespace"/> is provided.</exception> 155/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingEventHubsSettings.ConnectionString"/> nor <see cref="AzureMessagingEventHubsSettings.FullyQualifiedNamespace"/> is provided.</exception> 177/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingEventHubsSettings.ConnectionString"/> nor <see cref="AzureMessagingEventHubsSettings.FullyQualifiedNamespace"/> is provided.</exception> 199/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingEventHubsSettings.ConnectionString"/> nor <see cref="AzureMessagingEventHubsSettings.FullyQualifiedNamespace"/> is provided.</exception> 219/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureMessagingEventHubsSettings.ConnectionString"/> nor <see cref="AzureMessagingEventHubsSettings.FullyQualifiedNamespace"/> is provided.</exception>
AzureMessagingEventHubsSettings.cs (1)
27/// If <see cref="ConnectionString"/> is set, it overrides <see cref="FullyQualifiedNamespace"/> and <see cref="Credential"/>.
EventHubBufferedProducerClientComponent.cs (3)
38if (string.IsNullOrEmpty(settings.ConnectionString)) 46return new EventHubBufferedProducerClient(settings.ConnectionString, options); 49return new EventHubBufferedProducerClient(settings.ConnectionString, settings.EventHubName, options);
EventHubConsumerClientComponent.cs (3)
39if (string.IsNullOrEmpty(settings.ConnectionString)) 47return new EventHubConsumerClient(consumerGroup, settings.ConnectionString, options); 50return new EventHubConsumerClient(consumerGroup, settings.ConnectionString, settings.EventHubName, options);
EventHubProducerClientComponent.cs (3)
37if (string.IsNullOrEmpty(settings.ConnectionString)) 45return new EventHubProducerClient(settings.ConnectionString, options); 48return new EventHubProducerClient(settings.ConnectionString, settings.EventHubName, options);
EventHubsComponent.cs (3)
55? EventHubsConnectionStringProperties.Parse(settings.ConnectionString).Endpoint.Host 82var connectionString = settings.ConnectionString; 93if (!string.IsNullOrWhiteSpace(settings.ConnectionString))
EventProcessorClientComponent.cs (3)
51if (string.IsNullOrEmpty(settings.ConnectionString)) 63settings.ConnectionString, options); 68settings.ConnectionString,
PartitionReceiverClientComponent.cs (3)
45if (string.IsNullOrEmpty(settings.ConnectionString)) 62settings.ConnectionString, 70settings.ConnectionString,