3 writes to PropertyValidationFilter
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Metadata\DefaultValidationMetadataProvider.cs (2)
51
context.ValidationMetadata.
PropertyValidationFilter
= validationFilter;
56
context.ValidationMetadata.
PropertyValidationFilter
= validationFilter;
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Metadata\DefaultModelMetadataTest.cs (1)
883
PropertyValidationFilter
= value,
9 references to PropertyValidationFilter
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
414
public override IPropertyValidationFilter? PropertyValidationFilter => ValidationMetadata.
PropertyValidationFilter
;
Microsoft.AspNetCore.Mvc.Core.Test (8)
ModelBinding\Metadata\DefaultValidationMetadataProviderTest.cs (8)
24
Assert.NotNull(context.ValidationMetadata.
PropertyValidationFilter
);
25
Assert.False(context.ValidationMetadata.
PropertyValidationFilter
.ShouldValidateEntry(
44
Assert.Null(context.ValidationMetadata.
PropertyValidationFilter
);
61
Assert.Null(context.ValidationMetadata.
PropertyValidationFilter
);
80
Assert.NotNull(context.ValidationMetadata.
PropertyValidationFilter
);
81
Assert.False(context.ValidationMetadata.
PropertyValidationFilter
.ShouldValidateEntry(
102
Assert.NotNull(context.ValidationMetadata.
PropertyValidationFilter
);
103
Assert.False(context.ValidationMetadata.
PropertyValidationFilter
.ShouldValidateEntry(