3 writes to ConnectionString
Aspire.Azure.Messaging.EventHubs (1)
AzureMessagingEventHubsSettings.cs (1)
95
ConnectionString
= connectionString;
Aspire.Azure.Messaging.EventHubs.Tests (2)
AspireEventHubsExtensionsTests.cs (2)
390
s_keyedClientAdders[clientIndex](builder, "eh", settings => settings.
ConnectionString
= EhConnectionString);
394
s_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)
38
if (string.IsNullOrEmpty(settings.
ConnectionString
))
46
return new EventHubBufferedProducerClient(settings.
ConnectionString
, options);
49
return new EventHubBufferedProducerClient(settings.
ConnectionString
, settings.EventHubName, options);
EventHubConsumerClientComponent.cs (3)
39
if (string.IsNullOrEmpty(settings.
ConnectionString
))
47
return new EventHubConsumerClient(consumerGroup, settings.
ConnectionString
, options);
50
return new EventHubConsumerClient(consumerGroup, settings.
ConnectionString
, settings.EventHubName, options);
EventHubProducerClientComponent.cs (3)
37
if (string.IsNullOrEmpty(settings.
ConnectionString
))
45
return new EventHubProducerClient(settings.
ConnectionString
, options);
48
return new EventHubProducerClient(settings.
ConnectionString
, settings.EventHubName, options);
EventHubsComponent.cs (3)
55
? EventHubsConnectionStringProperties.Parse(settings.
ConnectionString
).Endpoint.Host
82
var connectionString = settings.
ConnectionString
;
93
if (!string.IsNullOrWhiteSpace(settings.
ConnectionString
))
EventProcessorClientComponent.cs (3)
51
if (string.IsNullOrEmpty(settings.
ConnectionString
))
63
settings.
ConnectionString
, options);
68
settings.
ConnectionString
,
PartitionReceiverClientComponent.cs (3)
45
if (string.IsNullOrEmpty(settings.
ConnectionString
))
62
settings.
ConnectionString
,
70
settings.
ConnectionString
,