diff --git a/src/Aspire.Hosting.Azure.ServiceBus/AzureServiceBusExtensions.cs b/src/Aspire.Hosting.Azure.ServiceBus/AzureServiceBusExtensions.cs index 9ac66ad1380..11ffd2262b5 100644 --- a/src/Aspire.Hosting.Azure.ServiceBus/AzureServiceBusExtensions.cs +++ b/src/Aspire.Hosting.Azure.ServiceBus/AzureServiceBusExtensions.cs @@ -104,10 +104,10 @@ public static IResourceBuilder AddAzureServiceBus(this } /// - /// Adds an Azure Service Bus Queue resource to the application model. This resource requires an to be added to the application model. + /// Adds an Azure Service Bus Queue resource to the application model. /// /// The Azure Service Bus resource builder. - /// The name of the queue. + /// The name of the queue resource. /// A reference to the . [Obsolete($"This method is obsolete because it has the wrong return type and will be removed in a future version. Use {nameof(AddServiceBusQueue)} instead to add an Azure Service Bus Queue.")] public static IResourceBuilder AddQueue(this IResourceBuilder builder, [ResourceName] string name) @@ -155,10 +155,10 @@ public static IResourceBuilder WithProperties(this } /// - /// Adds an Azure Service Bus Topic resource to the application model. This resource requires an to be added to the application model. + /// Adds an Azure Service Bus Topic resource to the application model. /// /// The Azure Service Bus resource builder. - /// The name of the topic. + /// The name of the topic resource. [Obsolete($"This method is obsolete because it has the wrong return type and will be removed in a future version. Use {nameof(AddServiceBusTopic)} instead to add an Azure Service Bus Topic.")] public static IResourceBuilder AddTopic(this IResourceBuilder builder, [ResourceName] string name) { @@ -168,10 +168,10 @@ public static IResourceBuilder AddTopic(this IResourceB } /// - /// Adds an Azure Service Bus Topic resource to the application model. This resource requires an to be added to the application model. + /// Adds an Azure Service Bus Topic resource to the application model. /// /// The Azure Service Bus resource builder. - /// The name of the topic. + /// The name of the topic resource. /// The name of the subscriptions. [Obsolete($"This method is obsolete because it has the wrong return type and will be removed in a future version. Use {nameof(AddServiceBusTopic)} and {nameof(AddServiceBusSubscription)} instead to add an Azure Service Bus Topic and Subscriptions.")] public static IResourceBuilder AddTopic(this IResourceBuilder builder, [ResourceName] string name, string[] subscriptions) @@ -190,7 +190,7 @@ public static IResourceBuilder AddTopic(this IResourceB /// Adds an Azure Service Bus Topic resource to the application model. /// /// The Azure Service Bus resource builder. - /// The name of the topic. + /// The name of the topic resource. /// The name of the Service Bus Topic. If not provided, this defaults to the same value as . /// A reference to the . public static IResourceBuilder AddServiceBusTopic(this IResourceBuilder builder, [ResourceName] string name, string? topicName = null) @@ -224,7 +224,7 @@ public static IResourceBuilder WithProperties(this } /// - /// Adds an Azure Service Bus Subscription resource to the application model. This resource requires an to be added to the application model. + /// Adds an Azure Service Bus Subscription resource to the application model. /// /// The Azure Service Bus resource builder. /// The name of the topic resource. @@ -252,7 +252,7 @@ public static IResourceBuilder AddSubscription(this IRe /// Adds an Azure Service Bus Subscription resource to the application model. /// /// The Azure Service Bus Topic resource builder. - /// The name of the subscription. + /// The name of the subscription resource. /// The name of the Service Bus Subscription. If not provided, this defaults to the same value as . /// A reference to the . public static IResourceBuilder AddServiceBusSubscription(this IResourceBuilder builder, [ResourceName] string name, string? subscriptionName = null)