9 instantiations of ServiceBusSubscription
Aspire.Hosting.Azure.ServiceBus (2)
AzureServiceBusExtensions.cs (2)
156topic.Subscriptions.Add(new ServiceBusSubscription(subscription)); 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)
35var subscription = new ServiceBusSubscription("subscription1"); 334var subscription = new ServiceBusSubscription("subscription1") 438var subscription = new ServiceBusSubscription("subscription1")
CdkSample.AppHost (2)
Program.cs (2)
67.WithTopic("topic2", topic2 => topic2.Subscriptions.Add(new("subscription1"))) 74.WithTopic("topic1", topic2 => topic2.Subscriptions.Add(new("subscription2")))
ServiceBus.AppHost (1)
Program.cs (1)
15var subscription = new ServiceBusSubscription("sub1")
7 references to ServiceBusSubscription
Aspire.Hosting.Azure.ServiceBus (3)
ServiceBusSubscription.cs (2)
19/// Initializes a new instance of the <see cref="ServiceBusSubscription"/> class. 129var subscription = this;
ServiceBusTopic.cs (1)
53public List<ServiceBusSubscription> Subscriptions { get; } = [];
Aspire.Hosting.Azure.Tests (3)
AzureServiceBusExtensionsTests.cs (3)
35var subscription = new ServiceBusSubscription("subscription1"); 334var subscription = new ServiceBusSubscription("subscription1") 438var subscription = new ServiceBusSubscription("subscription1")
ServiceBus.AppHost (1)
Program.cs (1)
15var subscription = new ServiceBusSubscription("sub1")