5 writes to Validator
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Validation\ClientValidatorCache.cs (1)
57
item.
Validator
= null;
Microsoft.AspNetCore.Mvc.DataAnnotations (4)
DataAnnotationsClientModelValidatorProvider.cs (2)
84
validatorItem.
Validator
= adapter;
94
Validator
= _validationAttributeAdapterProvider.GetAttributeAdapter(
DefaultClientModelValidatorProvider.cs (1)
37
validatorItem.
Validator
= validator;
NumericClientModelValidatorProvider.cs (1)
41
Validator
= new NumericClientModelValidator(),
11 references to Validator
Microsoft.AspNetCore.Mvc.Abstractions (5)
ModelBinding\Validation\ClientValidatorItem.cs (3)
9
/// inspect <see cref="ClientValidatorProviderContext.Results"/> and set <see cref="
Validator
"/> and
31
/// Gets the metadata associated with the <see cref="
Validator
"/>.
41
/// Gets or sets a value indicating whether or not <see cref="
Validator
"/> can be reused across requests.
ModelBinding\Validation\ClientValidatorProviderContext.cs (1)
38
/// instances should add the appropriate <see cref="ClientValidatorItem.
Validator
"/> properties when
ModelBinding\Validation\IClientModelValidatorProvider.cs (1)
13
/// <see cref="ClientValidatorItem.
Validator
"/> in <see cref="ClientValidatorProviderContext.Results"/>.
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Validation\ClientValidatorCache.cs (2)
116
if (items[i].
Validator
!= null)
131
var validator = items[i].
Validator
;
Microsoft.AspNetCore.Mvc.DataAnnotations (4)
DataAnnotationsClientModelValidatorProvider.cs (2)
66
if (validatorItem.
Validator
!= null)
69
hasRequiredAttribute |= validatorItem.
Validator
is RequiredAttributeAdapter;
DefaultClientModelValidatorProvider.cs (1)
29
if (validatorItem.
Validator
!= null)
NumericClientModelValidatorProvider.cs (1)
31
var validator = results[i].
Validator
;