10 references to IsValid
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelValidationState.cs (1)
10
/// of <see cref="ModelStateDictionary"/>. <see cref="ModelStateDictionary.
IsValid
"/> is <see langword="true" />, when
Microsoft.AspNetCore.Mvc.Core (5)
ControllerBase.cs (1)
2840
return ModelState.
IsValid
;
Infrastructure\ModelStateInvalidFilter.cs (1)
76
if (context.Result == null && !context.ModelState.
IsValid
)
ModelBinding\ModelBindingHelper.cs (1)
279
return modelState.
IsValid
;
ModelBinding\UnsupportedContentTypeFilter.cs (1)
38
if (modelState.
IsValid
)
SerializableError.cs (1)
33
if (modelState.
IsValid
)
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
1581
return ModelState.
IsValid
;
PageModel.cs (1)
1658
return ModelState.
IsValid
;
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
DefaultHtmlGenerator.cs (2)
811
if (!viewContext.ClientValidationEnabled && viewData.ModelState.
IsValid
)
874
if (viewData.ModelState.
IsValid
)