From cd17ff5b1c111290e61f50668f51d02db9d282e7 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Mon, 29 Sep 2025 20:45:55 +0000
Subject: [PATCH 1/2] Initial plan
From 19b3370210f4c1e0b53d62fb17a2827c16f935f8 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Mon, 29 Sep 2025 20:50:54 +0000
Subject: [PATCH 2/2] Fix typos in FromKeyedServicesAttribute.Key documentation
remarks
Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
---
.../FromKeyedServicesAttribute.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xml/Microsoft.Extensions.DependencyInjection/FromKeyedServicesAttribute.xml b/xml/Microsoft.Extensions.DependencyInjection/FromKeyedServicesAttribute.xml
index c54621fd02e..76bca94412b 100644
--- a/xml/Microsoft.Extensions.DependencyInjection/FromKeyedServicesAttribute.xml
+++ b/xml/Microsoft.Extensions.DependencyInjection/FromKeyedServicesAttribute.xml
@@ -96,8 +96,8 @@
The key of the keyed service to bind to.
To be added.
- A value with indicates there is not a key and just the parameter type is used to resolve the service.
- This is useful for DI implementations that require an explict way to declare that the parameter should be resolved for unkeyed services.
+ A value indicates there is not a key and just the parameter type is used to resolve the service.
+ This is useful for DI implementations that require an explicit way to declare that the parameter should be resolved for unkeyed services.
A value is also used along with set to to indicate that the key should be inherited from the parent scope.