Skip to content

Commit 44dbde8

Browse files
update summary for ConfigurationBinder.GetValue<T> to clarify default return
1 parent 506c290 commit 44dbde8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/Microsoft.Extensions.Configuration/ConfigurationBinder.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,8 @@ For more information and examples, see [Binding](/dotnet/core/extensions/configu
651651
<typeparam name="T">The type to convert the value to.</typeparam>
652652
<param name="configuration">The configuration.</param>
653653
<param name="key">The key of the configuration section's value to convert.</param>
654-
<summary>Extracts the value with the specified key and converts it to type T.</summary>
655-
<returns>The converted value.</returns>
654+
<summary>Extracts the value with the specified key and converts it to type T. Returns default if the key is not present.</summary>
655+
<returns>The converted value or the default.</returns>
656656
<remarks>To be added.</remarks>
657657
</Docs>
658658
</Member>

0 commit comments

Comments
 (0)