Skip to content

Commit dd0ed71

Browse files
Merge pull request #11898 from dotnet/main
Merge main into live
2 parents 2552517 + a3f9108 commit dd0ed71

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

xml/Microsoft.Extensions.DependencyInjection/FromKeyedServicesAttribute.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@
9696
The key of the keyed service to bind to.
9797
</summary>
9898
<value>To be added.</value>
99-
<remarks>A <see langword="null" /> value with indicates there is not a key and just the parameter type is used to resolve the service.
100-
This is useful for DI implementations that require an explict way to declare that the parameter should be resolved for unkeyed services.
99+
<remarks>A <see langword="null" /> value indicates there is not a key and just the parameter type is used to resolve the service.
100+
This is useful for DI implementations that require an explicit way to declare that the parameter should be resolved for unkeyed services.
101101
A <see langword="null" /> value is also used along with <see cref="P:Microsoft.Extensions.DependencyInjection.FromKeyedServicesAttribute.LookupMode" /> set to <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceKeyLookupMode.InheritKey" /> to indicate that the key should be inherited from the parent scope.
102102
</remarks>
103103
</Docs>

xml/System/Type.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5626,7 +5626,7 @@ This method can be used to find a constructed generic member given a member from
56265626

56275627
You can do one of the following to retrieve a specific method:
56285628

5629-
- Call the <xref:System.Type.GetMethod%28System.String%2CSystem.Reflection.BindingFlags%29> method and specify a `bindingAttr` argument that uniquely identifies the method. For example, if the exception is thrown because a type has a static and an instance overload, you can specify a `bindingAttr` argument of <xref:System.Reflection.BindingFlags.Instance?displayProperty=nameWithType>` Or `<xref:System.Reflection.BindingFlags.Instance?displayProperty=nameWithType>.
5629+
- Call the <xref:System.Type.GetMethod%28System.String%2CSystem.Reflection.BindingFlags%29> method and specify a `bindingAttr` argument that uniquely identifies the method. For example, if the exception is thrown because a type has a static and an instance overload, you can specify a `bindingAttr` argument of <xref:System.Reflection.BindingFlags.Static?displayProperty=nameWithType> or <xref:System.Reflection.BindingFlags.Instance?displayProperty=nameWithType>.
56305630

56315631
- Call an overload of the <xref:System.Type.GetMethod%2A> method that includes a `types` parameter which defines the types of the method's parameters.
56325632

0 commit comments

Comments
 (0)