10 references to GetErrorMessage
Microsoft.AspNetCore.Mvc.DataAnnotations (9)
CompareAttributeAdapter.cs (1)
43return GetErrorMessage(validationContext.ModelMetadata, displayName, otherPropertyDisplayName);
DataTypeAttributeAdapter.cs (1)
39return GetErrorMessage(
FileExtensionsAttributeAdapter.cs (1)
44return GetErrorMessage(
MaxLengthAttributeAdapter.cs (1)
35return GetErrorMessage(
MinLengthAttributeAdapter.cs (1)
35return GetErrorMessage(
RangeAttributeAdapter.cs (1)
45return GetErrorMessage(
RegularExpressionAttributeAdapter.cs (1)
31return GetErrorMessage(
RequiredAttributeAdapter.cs (1)
39return GetErrorMessage(validationContext.ModelMetadata, validationContext.ModelMetadata.GetDisplayName());
StringLengthAttributeAdapter.cs (1)
47return GetErrorMessage(
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
ValidationAttributeAdapterOfTAttributeTest.cs (1)
67return GetErrorMessage(validationContext.ModelMetadata, displayName);