Skip to content

Commit 9fdb6c7

Browse files
authored
Fixed xml-doc comments in OptionsServiceCollectionExtensions.AddOptionsWithValidateOnStart (#94385)
1 parent 764d3e0 commit 9fdb6c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libraries/Microsoft.Extensions.Options/src/OptionsServiceCollectionExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static IServiceCollection AddOptions(this IServiceCollection services)
4040
/// <typeparam name="TOptions">The options type to be configured.</typeparam>
4141
/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
4242
/// <param name="name">The name of the options instance.</param>
43-
/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
43+
/// <returns>The <see cref="OptionsBuilder{TOptions}"/> so that configure calls can be chained in it.</returns>
4444
public static OptionsBuilder<TOptions> AddOptionsWithValidateOnStart<
4545
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TOptions>(
4646
this IServiceCollection services,
@@ -60,7 +60,7 @@ public static OptionsBuilder<TOptions> AddOptionsWithValidateOnStart<
6060
/// <typeparam name="TValidateOptions">The <see cref="IValidateOptions{TOptions}"/> validator type.</typeparam>
6161
/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
6262
/// <param name="name">The name of the options instance.</param>
63-
/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
63+
/// <returns>The <see cref="OptionsBuilder{TOptions}"/> so that configure calls can be chained in it.</returns>
6464
public static OptionsBuilder<TOptions> AddOptionsWithValidateOnStart<
6565
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TOptions,
6666
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TValidateOptions>(

0 commit comments

Comments
 (0)