4 references to LastName
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
ValidatableObjectAdapterTest.cs (4)
77
new ValidationResult("Error message3", new[] { nameof(SampleModel.
LastName
) }),
84
new ModelValidationResult(nameof(SampleModel.
LastName
), "Error message3"),
95
nameof(SampleModel.
LastName
),
102
new ModelValidationResult(nameof(SampleModel.
LastName
), "Error message1"),