2 overrides of GetDisplayName
Microsoft.Extensions.Validation (2)
RuntimeValidatableParameterInfoResolver.cs (2)
106public override string? GetDisplayName(ValidateContext context, string memberName, Type? declaringType) 127public override string? GetDisplayName(ValidateContext context, string memberName, Type? declaringType)
4 references to GetDisplayName
Microsoft.Extensions.Validation (4)
DisplayNameInfo.cs (1)
20/// pipeline calls <see cref="GetDisplayName(ValidateContext, string, Type?)"/> once per
ValidatableParameterInfo.cs (1)
71var displayName = DisplayNameInfo?.GetDisplayName(context, Name, declaringType: null) ?? Name;
ValidatablePropertyInfo.cs (1)
85var displayName = DisplayNameInfo?.GetDisplayName(context, Name, DeclaringType) ?? Name;
ValidatableTypeInfo.cs (1)
155var displayName = DisplayNameInfo?.GetDisplayName(context, Type.Name, Type) ?? Type.Name;