Skip to content

Commit 142f094

Browse files
authored
Inheritdoc fixes (#5823)
* add some crefs to inheritdoc * be more specific * typo
1 parent 6e20a08 commit 142f094

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Libraries/Microsoft.Extensions.AI.Abstractions/AdditionalPropertiesDictionary{TValue}.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ void ICollection<KeyValuePair<string, TValue>>.CopyTo(KeyValuePair<string, TValu
143143
bool ICollection<KeyValuePair<string, TValue>>.Remove(KeyValuePair<string, TValue> item) => ((ICollection<KeyValuePair<string, TValue>>)_dictionary).Remove(item);
144144

145145
/// <summary>Attempts to extract a typed value from the dictionary.</summary>
146-
/// <typeparam name="T">Specifies the type of the value to be retrieved.</typeparam>
146+
/// <typeparam name="T">The type of the value to be retrieved.</typeparam>
147147
/// <param name="key">The key to locate.</param>
148148
/// <param name="value">
149-
/// The value retrieved from the dictionary, if found and successfully converted to the requested type;
149+
/// When this method returns, contains the value retrieved from the dictionary, if found and successfully converted to the requested type;
150150
/// otherwise, the default value of <typeparamref name="T"/>.
151151
/// </param>
152152
/// <returns>

src/Libraries/Microsoft.Extensions.Hosting.Testing/FakeHostOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ public class FakeHostOptions
4343
/// </value>
4444
public bool FakeLogging { get; set; } = true;
4545

46-
/// <inheritdoc cref="ServiceProviderOptions"/>
46+
/// <inheritdoc cref="ServiceProviderOptions.ValidateScopes"/>
4747
public bool ValidateScopes { get; set; } = true;
4848

49-
/// <inheritdoc cref="ServiceProviderOptions"/>
49+
/// <inheritdoc cref="ServiceProviderOptions.ValidateOnBuild"/>
5050
public bool ValidateOnBuild { get; set; } = true;
5151

5252
/// <summary>

0 commit comments

Comments
 (0)