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