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