13 references to Subscriptions
Aspire.Hosting.Azure.ServiceBus (4)
AzureServiceBusExtensions.cs (4)
154
if (!topic.
Subscriptions
.Any(x => x.Name == subscription))
156
topic.
Subscriptions
.Add(new ServiceBusSubscription(subscription));
195
if (!topic.
Subscriptions
.Any(x => x.Name == subscriptionName))
197
topic.
Subscriptions
.Add(new ServiceBusSubscription(subscriptionName));
Aspire.Hosting.Azure.Tests (4)
AzureBicepResourceTests.cs (1)
1627
.WithTopic("t1", topic => topic.
Subscriptions
.Add(new("s3")));
AzureServiceBusExtensionsTests.cs (3)
37
topic.
Subscriptions
.Add(subscription);
343
topic.
Subscriptions
.Add(subscription);
447
topic.
Subscriptions
.Add(subscription);
BicepSample.AppHost (1)
Program.cs (1)
58
.WithTopic("topic1", topic => topic.
Subscriptions
.AddRange([new("subscription1"), new("subscription2")]))
CdkSample.AppHost (3)
Program.cs (3)
67
.WithTopic("topic2", topic2 => topic2.
Subscriptions
.Add(new("subscription1")))
74
.WithTopic("topic1", topic2 => topic2.
Subscriptions
.Add(new("subscription2")))
75
.WithTopic("topic3", topic3 => topic3.
Subscriptions
.AddRange([new("sub1"), new("sub2")]));
ServiceBus.AppHost (1)
Program.cs (1)
19
topic.
Subscriptions
.Add(subscription);