2 writes to Key
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Validation\ValidationVisitor.cs (2)
515
visitor.
Key
= key;
543
_visitor.
Key
= _key;
11 references to Key
Microsoft.AspNetCore.Mvc.Core (11)
ModelBinding\Validation\ValidationVisitor.cs (11)
203
Debug.Assert(
Key
!= null);
205
var state = ModelState.GetValidationState(
Key
);
233
var key = ModelNames.CreatePropertyModelName(
Key
, result.MemberName);
242
state = ModelState.GetFieldValidationState(
Key
);
251
ModelState[
Key
]?.ValidationState = ModelValidationState.Valid;
387
SuppressValidation(
Key
!);
408
SuppressValidation(
Key
!);
422
Debug.Assert(Metadata is not null &&
Key
is not null && Model is not null);
425
var enumerator = strategy.GetChildren(Metadata,
Key
, Model);
426
var parentEntry = new ValidationEntry(Metadata,
Key
, Model);
533
_key = _visitor.
Key
!;