2 writes to Key
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Validation\ValidationVisitor.cs (2)
520
visitor.
Key
= key;
548
_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
var entry = ModelState[
Key
];
392
SuppressValidation(
Key
!);
413
SuppressValidation(
Key
!);
427
Debug.Assert(Metadata is not null &&
Key
is not null && Model is not null);
430
var enumerator = strategy.GetChildren(Metadata,
Key
, Model);
431
var parentEntry = new ValidationEntry(Metadata,
Key
, Model);
538
_key = _visitor.
Key
!;