6 references to GetMemberName
Microsoft.Extensions.Http.Resilience (6)
src\Shared\Data.Validation\LengthAttribute.cs (2)
175
return new ValidationResult(FormatErrorMessage(validationContext.GetDisplayName()), validationContext.
GetMemberName
());
184
return new ValidationResult(validationMessage, validationContext.
GetMemberName
());
src\Shared\Data.Validation\TimeSpanAttribute.cs (4)
134
return new ValidationResult($"The field {validationContext.GetDisplayName()} must be > to {min}.", validationContext.
GetMemberName
());
139
return new ValidationResult($"The field {validationContext.GetDisplayName()} must be >= to {min}.", validationContext.
GetMemberName
());
146
return new ValidationResult($"The field {validationContext.GetDisplayName()} must be < to {max}.", validationContext.
GetMemberName
());
151
return new ValidationResult($"The field {validationContext.GetDisplayName()} must be <= to {max}.", validationContext.
GetMemberName
());