13 references to Subscriptions
Aspire.Hosting.Azure.ServiceBus (4)
AzureServiceBusExtensions.cs (4)
154if (!topic.Subscriptions.Any(x => x.Name == subscription)) 156topic.Subscriptions.Add(new ServiceBusSubscription(subscription)); 195if (!topic.Subscriptions.Any(x => x.Name == subscriptionName)) 197topic.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)
37topic.Subscriptions.Add(subscription); 343topic.Subscriptions.Add(subscription); 447topic.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)
19topic.Subscriptions.Add(subscription);