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