14 references to Valid
Microsoft.AspNetCore.Mvc.Abstractions (11)
ModelBinding\ModelMetadata.cs (1)
436
/// When <see langword="false"/>, validation can be assume that the model is valid (<see cref="ModelValidationState.
Valid
"/>) without
ModelBinding\ModelStateDictionary.cs (7)
163
return state == ModelValidationState.
Valid
|| state == ModelValidationState.Skipped;
168
public ModelValidationState ValidationState => GetValidity(_root, currentDepth: 0) ?? ModelValidationState.
Valid
;
372
/// state errors; <see cref="ModelValidationState.
Valid
"/> otherwise.</returns>
387
/// state errors; <see cref="ModelValidationState.
Valid
"/> otherwise.</returns>
402
/// <paramref name="key"/> as <see cref="ModelValidationState.
Valid
"/>.
417
modelState.ValidationState = ModelValidationState.
Valid
;
631
validationState = ModelValidationState.
Valid
;
ModelBinding\ModelValidationState.cs (3)
12
/// of the root node is <see cref="
Valid
"/>.
38
/// For aggregate validity, the validation of a <see cref="ModelStateEntry"/> is <see cref="
Valid
"/>
39
/// if the validity of the entry and all descendants is either <see cref="
Valid
"/> or <see cref="Skipped"/>.
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\Validation\ValidationVisitor.cs (3)
184
entry.ValidationState = ModelValidationState.
Valid
;
251
ModelState[Key]?.ValidationState = ModelValidationState.
Valid
;
345
item.Value.ValidationState = ModelValidationState.
Valid
;