6 references to Root
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelValidationState.cs (1)
9
/// <see cref="ModelValidationState"/> of <see cref="ModelStateDictionary.
Root
"/> is used to determine the validity
Microsoft.AspNetCore.Mvc.Abstractions.Test (3)
ModelBinding\ModelStateDictionaryTest.cs (3)
1576
var property1 = modelStateDictionary.
Root
.GetModelStateForProperty("property1");
1577
var property2 = modelStateDictionary.
Root
.GetModelStateForProperty("property1.property2");
1596
var property = modelStateDictionary.
Root
.GetModelStateForProperty("[property]");
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (1)
1356
Assert.Equal(expectedParentValidationState, modelState.
Root
.ValidationState);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ValidationHelpers.cs (1)
62
Visit(modelStateDictionary.
Root
, metadata, entries);