Base:
property
IsTopLevelObject
Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext.IsTopLevelObject
50 writes to IsTopLevelObject
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\DefaultModelBindingContext.cs (2)
226IsTopLevelObject = true, 272IsTopLevelObject = false;
Microsoft.AspNetCore.Mvc.Core.Test (48)
ModelBinding\Binders\ArrayModelBinderTest.cs (2)
61bindingContext.IsTopLevelObject = true; 96bindingContext.IsTopLevelObject = true;
ModelBinding\Binders\BodyModelBinderTests.cs (1)
696IsTopLevelObject = true,
ModelBinding\Binders\CollectionModelBinderTest.cs (4)
247bindingContext.IsTopLevelObject = true; 282bindingContext.IsTopLevelObject = true; 322bindingContext.IsTopLevelObject = true; 358bindingContext.IsTopLevelObject = true;
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (15)
29bindingContext.IsTopLevelObject = isTopLevelObject; 46bindingContext.IsTopLevelObject = false; 61bindingContext.IsTopLevelObject = true; 78bindingContext.IsTopLevelObject = expectedCanCreate == ComplexObjectModelBinder.ValueProviderDataAvailable; 102bindingContext.IsTopLevelObject = false; 122bindingContext.IsTopLevelObject = false; 138bindingContext.IsTopLevelObject = true; 162bindingContext.IsTopLevelObject = false; 190bindingContext.IsTopLevelObject = false; 225bindingContext.IsTopLevelObject = false; 259bindingContext.IsTopLevelObject = false; 288IsTopLevelObject = true, 340IsTopLevelObject = true, 384IsTopLevelObject = true, 1113IsTopLevelObject = true,
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (19)
28bindingContext.IsTopLevelObject = isTopLevelObject; 45bindingContext.IsTopLevelObject = false; 60bindingContext.IsTopLevelObject = true; 77bindingContext.IsTopLevelObject = expectedCanCreate == ComplexTypeModelBinder.ValueProviderDataAvailable; 101bindingContext.IsTopLevelObject = false; 121bindingContext.IsTopLevelObject = false; 137bindingContext.IsTopLevelObject = true; 161bindingContext.IsTopLevelObject = false; 189bindingContext.IsTopLevelObject = false; 224bindingContext.IsTopLevelObject = false; 258bindingContext.IsTopLevelObject = false; 301IsTopLevelObject = true, 348IsTopLevelObject = true, 400IsTopLevelObject = true, 444IsTopLevelObject = true, 534IsTopLevelObject = true 576IsTopLevelObject = false 1006bindingContext.IsTopLevelObject = false; 1277IsTopLevelObject = true,
ModelBinding\Binders\DictionaryModelBinderTest.cs (3)
432bindingContext.IsTopLevelObject = true; 468bindingContext.IsTopLevelObject = true; 516bindingContext.IsTopLevelObject = true;
ModelBinding\Binders\FormFileModelBinderTest.cs (1)
342bindingContext.IsTopLevelObject = isTopLevel;
ModelBinding\Binders\HeaderModelBinderTests.cs (2)
181bindingContext.IsTopLevelObject = false; 350IsTopLevelObject = true,
ModelBinding\Binders\KeyValuePairModelBinderTest.cs (1)
152bindingContext.IsTopLevelObject = true;
1 reference to IsTopLevelObject
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\DefaultModelBindingContextTest.cs (1)
54Assert.False(bindingContext.IsTopLevelObject);