Skip to content

Commit 7e5dc0c

Browse files
authored
fix docs issues (#67165)
1 parent cddc35c commit 7e5dc0c

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/Validation/Localization/src/ValidationLocalizationServiceCollectionExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Microsoft.Extensions.DependencyInjection;
1111

1212
/// <summary>
1313
/// Extension methods for registering the default <see cref="IStringLocalizer"/>-based validation
14-
/// localizer (<see cref="DefaultValidationLocalizer"/>).
14+
/// localizer.
1515
/// </summary>
1616
public static class ValidationLocalizationServiceCollectionExtensions
1717
{
@@ -24,7 +24,7 @@ public static class ValidationLocalizationServiceCollectionExtensions
2424
/// Internally calls <see cref="LocalizationServiceCollectionExtensions.AddLocalization(IServiceCollection)"/>
2525
/// to ensure an <see cref="IStringLocalizerFactory"/> is registered, and registers an
2626
/// <see cref="IConfigureOptions{TOptions}"/> bridge that sets
27-
/// <see cref="ValidationOptions.Localizer"/> to a <see cref="DefaultValidationLocalizer"/>
27+
/// <see cref="ValidationOptions.Localizer"/> to a default
2828
/// instance (only when <see cref="ValidationOptions.Localizer"/> has not already been set).
2929
/// </para>
3030
/// <para>

src/Validation/src/ValidatableParameterInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public abstract class ValidatableParameterInfo : IValidatableInfo
2020
/// </summary>
2121
/// <param name="parameterType">The <see cref="Type"/> associated with the parameter.</param>
2222
/// <param name="name">The parameter name.</param>
23-
/// <param name="displayNameInfo">An optional <see cref="DisplayNameInfo"/> that resolves the
23+
/// <param name="displayNameInfo">An optional strategy that resolves the
2424
/// display name for the parameter at validation time. When <see langword="null"/>, the
2525
/// validation pipeline uses <paramref name="name"/> as the display name.</param>
2626
protected ValidatableParameterInfo(

src/Validation/src/ValidatablePropertyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public abstract class ValidatablePropertyInfo : IValidatableInfo
2020
/// <param name="declaringType">The <see cref="Type"/> that declares the property.</param>
2121
/// <param name="propertyType">The <see cref="Type"/> of the property.</param>
2222
/// <param name="name">The property name.</param>
23-
/// <param name="displayNameInfo">An optional <see cref="DisplayNameInfo"/> that resolves the
23+
/// <param name="displayNameInfo">An optional strategy that resolves the
2424
/// display name for the property at validation time. When <see langword="null"/>, the
2525
/// validation pipeline uses <paramref name="name"/> as the display name.</param>
2626
protected ValidatablePropertyInfo(

src/Validation/src/ValidatableTypeInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public abstract class ValidatableTypeInfo : IValidatableInfo
2121
/// </summary>
2222
/// <param name="type">The type being validated.</param>
2323
/// <param name="members">The members that can be validated.</param>
24-
/// <param name="displayNameInfo">An optional <see cref="DisplayNameInfo"/> that resolves the
24+
/// <param name="displayNameInfo">An optional strategy that resolves the
2525
/// display name for the type at validation time. When <see langword="null"/>, the validation
2626
/// pipeline uses <see cref="System.Reflection.MemberInfo.Name"/> of <paramref name="type"/>
2727
/// as the display name.</param>

0 commit comments

Comments
 (0)