7 references to ValidationContext
Microsoft.AspNetCore.Components.Forms (2)
EditContextDataAnnotationsExtensions.cs (2)
90
var validationContext = new
ValidationContext
(fieldIdentifier.Model, _serviceProvider, items: null)
112
var validationContext = new
ValidationContext
(_editContext.Model, _serviceProvider, items: null);
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
DataAnnotationsModelValidator.cs (1)
74
var context = new
ValidationContext
(
ValidatableObjectAdapter.cs (1)
33
var validationContext = new
ValidationContext
(
System.ComponentModel.Annotations (3)
System\ComponentModel\DataAnnotations\ValidationContext.cs (2)
49
:
this
(instance, null, null)
66
:
this
(instance, null, items)
System\ComponentModel\DataAnnotations\Validator.cs (1)
341
var context = new
ValidationContext
(instance, validationContext, validationContext.Items);