10 references to ModelWithIValidatableObject
Microsoft.AspNetCore.Mvc.IntegrationTests (10)
ActionParametersIntegrationTest.cs (10)
672ParameterType = typeof(ModelWithIValidatableObject) 677request.QueryString = QueryString.Create(nameof(ModelWithIValidatableObject.FirstName), "TestName"); 694var model = Assert.IsType<ModelWithIValidatableObject>(modelBindingResult.Model); 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))]; 954ModelWithIValidatableObject validatableObject) 979public void MyAction([Required] string Name, [ValidateNever] ModelWithIValidatableObject validatableObject)