diff --git a/src/Polly.Extensions/DependencyInjection/AddResiliencePipelineContext.cs b/src/Polly.Extensions/DependencyInjection/AddResiliencePipelineContext.cs index cd7b8e98d06..8d358b45f11 100644 --- a/src/Polly.Extensions/DependencyInjection/AddResiliencePipelineContext.cs +++ b/src/Polly.Extensions/DependencyInjection/AddResiliencePipelineContext.cs @@ -43,7 +43,7 @@ internal AddResiliencePipelineContext(ConfigureBuilderContext registryCont /// You can decide based on the to listen for changes in global options or named options. /// If is then the global options are listened to. /// - /// You can listen for changes only for single options. If you call this method multiple times, the preceding calls are ignored and only the last one wins. + /// You can listen for changes from multiple options by calling this method with different types. /// /// public void EnableReloads<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] TOptions>(string? name = null) diff --git a/src/Polly.Extensions/DependencyInjection/PollyServiceCollectionExtensions.cs b/src/Polly.Extensions/DependencyInjection/PollyServiceCollectionExtensions.cs index be0826c845f..0447e9e7c0b 100644 --- a/src/Polly.Extensions/DependencyInjection/PollyServiceCollectionExtensions.cs +++ b/src/Polly.Extensions/DependencyInjection/PollyServiceCollectionExtensions.cs @@ -16,7 +16,7 @@ namespace Polly; public static class PollyServiceCollectionExtensions { /// - /// Adds a generic resilience pipeline to service collection. + /// Adds a resilience pipeline that handles to service collection. /// /// The type of the key used to identify the resilience pipeline. /// The type of result that the resilience pipeline handles. @@ -24,7 +24,6 @@ public static class PollyServiceCollectionExtensions /// The key used to identify the resilience pipeline. /// An action that configures the resilience pipeline. /// The updated with the registered resilience pipeline. - /// Thrown if the resilience pipeline builder with the provided key has already been added to the registry. /// Thrown when or is . /// /// You can retrieve the registered pipeline by resolving the class from the dependency injection container. @@ -45,7 +44,7 @@ public static IServiceCollection AddResiliencePipeline( } /// - /// Adds a generic resilience pipeline to service collection. + /// Adds a resilience pipeline that handles to service collection. /// /// The type of the key used to identify the resilience pipeline. /// The type of result that the resilience pipeline handles. @@ -53,7 +52,6 @@ public static IServiceCollection AddResiliencePipeline( /// The key used to identify the resilience pipeline. /// An action that configures the resilience pipeline. /// The updated with the registered resilience pipeline. - /// Thrown if the resilience pipeline builder with the provided key has already been added to the registry. /// Thrown when or is . /// /// You can retrieve the registered pipeline by resolving the class from the dependency injection container. @@ -94,7 +92,6 @@ public static IServiceCollection AddResiliencePipeline( /// The key used to identify the resilience pipeline. /// An action that configures the resilience pipeline. /// The updated with the registered resilience pipeline. - /// Thrown if the resilience pipeline builder with the provided key has already been added to the registry. /// Thrown when or is . /// /// You can retrieve the registered pipeline by resolving the class from the dependency injection container. @@ -122,7 +119,6 @@ public static IServiceCollection AddResiliencePipeline( /// The key used to identify the resilience pipeline. /// An action that configures the resilience pipeline. /// The updated with the registered resilience pipeline. - /// Thrown if the resilience pipeline builder with the provided key has already been added to the registry. /// Thrown when or is . /// /// You can retrieve the registered pipeline by resolving the class from the dependency injection container. @@ -157,7 +153,7 @@ public static IServiceCollection AddResiliencePipeline( } /// - /// Adds and that allows configuring + /// Adds and to service collection that allows configuring /// and retrieving resilience pipelines using the key. /// /// The type of the key used to identify the resilience pipeline. @@ -183,7 +179,7 @@ public static IServiceCollection AddResiliencePipelineRegistry( } /// - /// Adds and that allows configuring + /// Adds and to service collection that allows configuring /// and retrieving resilience pipelines using the key. /// /// The type of the key used to identify the resilience pipeline. diff --git a/src/Polly.Extensions/Registry/ConfigureBuilderContextExtensions.cs b/src/Polly.Extensions/Registry/ConfigureBuilderContextExtensions.cs index c9948be89e0..061750900e7 100644 --- a/src/Polly.Extensions/Registry/ConfigureBuilderContextExtensions.cs +++ b/src/Polly.Extensions/Registry/ConfigureBuilderContextExtensions.cs @@ -22,7 +22,7 @@ public static class ConfigureBuilderContextExtensions /// You can decide based on the to listen for changes in global options or named options. /// If is then the global options are listened to. /// - /// You can listen for changes only for single options. If you call this method multiple times, the preceding calls are ignored and only the last one wins. + /// You can listen for changes from multiple options by calling this method with different types. /// /// public static void EnableReloads(