7 references to FirstName
Microsoft.AspNetCore.Mvc.IntegrationTests (7)
ActionParametersIntegrationTest.cs (7)
677request.QueryString = QueryString.Create(nameof(ModelWithIValidatableObject.FirstName), "TestName"); 695Assert.Equal("TestName", model.FirstName); 817request.QueryString = QueryString.Create(nameof(ModelWithIValidatableObject.FirstName), "Billy"); 841entry = modelState[nameof(ModelWithIValidatableObject.FirstName)]; 861var key = ModelNames.CreatePropertyModelName(parameter.Name, nameof(ModelWithIValidatableObject.FirstName)); 886entry = modelState[ModelNames.CreatePropertyModelName(parameter.Name, nameof(ModelWithIValidatableObject.FirstName))]; 899yield return new ValidationResult("FirstName Not valid.", new string[] { nameof(FirstName) });